Subject: pkg/11342: Mozilla fails to build on i386/1.4.2 (a.out)
To: None <gnats-bugs@gnats.netbsd.org>
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
>Closed-Date:
>Last-Modified:
>Originator:     Lex Wennmacher
>Release:        <NetBSD-current source date> NetBSD-1.4.2
>Organization:
The Echelon Network
	
>Environment:
	
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


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

...
rm -f libxpcom.so.1.0
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 libxpcom.so.1.0     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
 defined)
/usr/lib/libgcc.a(_floatdixf.o): Definition of symbol `___floatdixf' (multiply d
efined)                                

[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]: *** [libxpcom.so.1.0] Error 1
gmake[2]: Leaving directory `/user/wennmach/cvs/pkgsrc/www/mozilla/work/mozilla/
xpcom/build'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/user/wennmach/cvs/pkgsrc/www/mozilla/work/mozilla/
xpcom'
gmake: *** [install] Error 2
*** Error code 2

Stop.
*** Error code 1                   

The full build log file is available under
ftp://gutemine.geo.Uni-Koeln.DE/pub/NetBSD/mozilla-build.log.gz

>How-To-Repeat:
	
(on an i386/1.4.2 system):
% cd pkgsrc/www/mozilla
% make clean; make
>Fix:
	
None provided.
>Release-Note:
>Audit-Trail:
>Unformatted: