pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
www/firefox2 build failure on SPARC Solaris 10
CC -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/usr/include
-I/opt/pkg/include/freetype2 -I/usr/openwin/include -xO3 -xtarget=native
-xbuiltin -xdepend=yes -xlibmil -xlibmopt -features=%all -I/opt/pkg/include
-I/usr/include -I/opt/pkg/include/freetype2 -xbuiltin=%all -features=tmplife
-pthread -mt -DNDEBUG -DTRIMMED -xO3 -xtarget=native -xbuiltin -xdepend=yes
-xlibmil -xlibmopt -G -z,muldefs -h libmozz.so -o libmozz.so adler32.o
compress.o crc32.o deflate.o gzio.o infback.o inffast.o inflate.o inftrees.o
trees.o uncompr.o zutil.o -M /usr/lib/ld/map.noexstk -xildoff -zlazyload
-zcombreloc -Wl,-R/opt/pkg/lib/firefox2 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib
-L/usr/lib -Wl,-R/usr/lib -L/usr/openwin/lib -Wl,-R/usr/openwin/lib -lsocket
-ldl -lm
CC: Warning: -xarch=native has been explicitly specified, or implicitly
specified by a macro option, -xarch=native on this architecture implies
-xarch=v8plusa which generates code that does not run on pre UltraSPARC
processors
ld: fatal: option -z has illegal argument `,muldefs'
ld: fatal: Flags processing errors
make[3]: *** [libmozz.so] Error 1
make[3]: Leaving directory
`/opt/pkg.obj/www/firefox2/work.ultra10/mozilla/modules/zlib/src'
make[2]: *** [libs] Error 2
make[2]: Leaving directory
`/opt/pkg.obj/www/firefox2/work.ultra10/mozilla/modules/zlib'
make[1]: *** [tier_1] Error 2
make[1]: Leaving directory `/opt/pkg.obj/www/firefox2/work.ultra10/mozilla'
gmake: *** [default] Error 2
*** Error code 2
Stop.
bmake: stopped in /opt/pkgsrc/www/firefox2
*** Error code 1
As you can see above the compiler tries to pass the following argument to the
linker '-z,muldefs' which is illegal because of the comma, it should be
'-zmuldefs'
Below are the files I grepped for 'muldefs' string
# pwd
/opt/pkg.obj/www/firefox2/work.ultra10/mozilla
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -Wl,-z -Wl,muldefs -h $@
-o $@'
DSO_LDOPTS='-G -Qoption ld -z,muldefs'
^^ ./configure.in.orig
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -Wl,-z -Wl,muldefs -h $@
-o $@'
DSO_LDOPTS='-G -z,muldefs'
^^ ./configure.in
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -Wl,-z -Wl,muldefs -h $@
-o $@'
DSO_LDOPTS='-G -z,muldefs'
^^ ./configure
MKCSHLIB = $(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -Wl,-z
-Wl,muldefs -h $@ -o $@
DSO_LDOPTS = -G -z,muldefs
^^ ./config/autoconf.mk
s%@MKCSHLIB@%$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -Wl,-z -Wl,muldefs -h $@ -o
$@% g
s%@DSO_LDOPTS@%-G -z,muldefs%g
^^ ./config.status
Home |
Main Index |
Thread Index |
Old Index