Ticket #317 (closed bug: fixed)
r36594 - build fails on solaris
Reported by: | jsut | Owned by: | rurban |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | trunk |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | applied | Platform: | solaris |
Description
$ make Compiling with: xx.c gcc -I./include -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -falign-functions=16 -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point -Wno-shadow -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wunknown-pragmas -Wno-unused -Wvariadic-macros -Wwrite-strings -Wbad-function-cast -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -DHAS_GETTEXT -g -DHAVE_COMPUTED_GOTO -fPIC -I. -o xx.o -c xx.c g++ -o miniparrot src/main.o src/null_config.o \ -Wl,-rpath=/opt/parrot/blib/lib -L/opt/parrot/blib/lib -lparrot -lsocket -lnsl -ldl -lm -lpthread -lrt -lintl ld: fatal: option -dn and -P are incompatible ld: fatal: Flags processing errors collect2: ld returned 1 exit status make: *** [miniparrot] Error 1 $ ld -V GNU ld (GNU Binutils) 2.18 Supported emulations: elf_i386_ldso elf_i386 elf_x86_64 $ uname -a SunOS web01-dev 5.10 Generic_127112-11 i86pc i386 i86pc Solaris $ gcc -v Using built-in specs. Target: i386-pc-solaris2.10 Configured with: ./configure --prefix=/oanda/system --with-local-prefix=/oanda/system --enable-languages=c,c++ --with-gnu-as --with-as=/usr/sfw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld Thread model: posix gcc version 4.2.1
if there is any other info I can provide, let me know.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.