Subject: pkg/11342: Mozilla fails to build on i386/1.4.2 (a.out)
To: None <>
From: None <wennmach@geo.Uni-Koeln.DE>
List: netbsd-bugs
Date: 10/30/2000 08:57:08
>Number:         11342
>Category:       pkg
>Synopsis:       Mozilla fails to build on i386/1.4.2 (a.out)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 30 08:57:00 PST 2000
>Originator:     Lex Wennmacher
>Release:        <NetBSD-current source date> NetBSD-1.4.2
The Echelon Network
System: NetBSD blue.geo.Uni-Koeln.DE 1.4.2 NetBSD 1.4.2 (BLUE) #13: Tue Jul 11 13:32:50 MEST 2000 wennmach@blue.geo.Uni-Koeln.DE:/usr/src/sys/arch/i386/compile/BLUE i386

The mozilla (just checked out from pkgsrc) build fails while linking in directory xpcom/build.
Here's the relevant part from the make.log file:

rm -f
c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wshadow -pedantic -Wno-long-long -Dunix -O  -DNDEBUG -DTRIMMED -Wl,-R/usr/X11R6/lib/mozilla -shared -o     nsXPComInit.o    -Wl,-R/usr/X11R6/lib/mozilla -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib/mozilla -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,--whole-archive ../../dist/lib/libxpcomds_s.a ../../dist/lib/libxpcomio_s.a ../../dist/lib/libxpcomcomponents_s.a ../../dist/lib/libxpcomthreads_s.a ../../dist/lib/libxpcomproxy_s.a ../../dist/lib/libxpcombase_s.a ../../dist/lib/libxptcall.a ../../dist/lib/libxptinfo.a ../../dist/lib/libxpt.a ../../dist/lib/libxptcmd.a ../../dist/lib/libmozreg_s.a  -Wl,--no-whole-archive  -L../../dist/bin -lplds4 -lplc4 -lnspr4  -lintl -lutil -lm
/usr/lib/libgcc.a(_fixunsxfsi.o): Definition of symbol `___fixunsxfsi' (multiply
/usr/lib/libgcc.a(_floatdixf.o): Definition of symbol `___floatdixf' (multiply d

[followed by tons of "Definition of symbol `__foo' (multiply defined)" messages]

/usr/lib/libgcc.a(frame.o): Definition of symbol `___register_frame_info_table'
(multiply defined)
collect2: ld returned 1 exit status
gmake[2]: *** [] Error 1
gmake[2]: Leaving directory `/user/wennmach/cvs/pkgsrc/www/mozilla/work/mozilla/
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/user/wennmach/cvs/pkgsrc/www/mozilla/work/mozilla/
gmake: *** [install] Error 2
*** Error code 2

*** Error code 1                   

The full build log file is available under

(on an i386/1.4.2 system):
% cd pkgsrc/www/mozilla
% make clean; make
None provided.