Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14318 - Mozilla 1.2.1-r5 fails on compile
Summary: Mozilla 1.2.1-r5 fails on compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-21 16:11 UTC by Chris Hornbaker
Modified: 2003-04-22 06:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Hornbaker 2003-01-21 16:11:08 UTC
g++ -o nsPipe2.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -D_IMPL_NS_CO
M -D_BSD_SOURCE  -I../../dist/include/string -I../../dist/include/xpcom -I../../
dist/include -I/var/tmp/portage/mozilla-1.2.1-r5/work/mozilla/dist/include/nspr 
     -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -frtti -fno-exceptions  
-Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor
-dtor-privacy -Wno-long-long -mcpu=athlon -pipe -Wno-deprecated -fshort-wchar -p
thread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O1  -I/usr/X11R6/include -
DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsPipe2.pp nsPipe2
.cpp
g++: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [nsPipe2.o] Error 1
make[3]: *** Waiting for unfinished jobs....
nsPipe2.cpp: In member function `virtual nsresult 
   nsPipe::nsPipeInputStream::QueryInterface(const nsIID&, void**)':
nsPipe2.cpp:323: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `virtual nsrefcnt 
   nsPipe::nsPipeInputStream::AddRef()':
nsPipe2.cpp:330: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `virtual nsrefcnt 
   nsPipe::nsPipeInputStream::Release()':
nsPipe2.cpp:338: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `virtual nsresult 
   nsPipe::nsPipeInputStream::Close()':
nsPipe2.cpp:344: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `virtual nsresult 
   nsPipe::nsPipeInputStream::Available(PRUint32*)':
nsPipe2.cpp:366: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `virtual nsresult 
   nsPipe::nsPipeInputStream::ReadSegments(nsresult (*)(nsIInputStream*, void*, 
   const char*, unsigned int, unsigned int, PRUint32*), void*, unsigned int, 
   PRUint32*)':
nsPipe2.cpp:385: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `nsresult nsPipe::nsPipeInputStream::Fill()':
nsPipe2.cpp:492: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `virtual nsresult 
   nsPipe::nsPipeInputStream::Search(const char*, int, PRBool*, PRUint32*)':
nsPipe2.cpp:550: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `virtual nsresult 
   nsPipe::nsPipeOutputStream::QueryInterface(const nsIID&, void**)':
nsPipe2.cpp:632: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `virtual nsrefcnt 
   nsPipe::nsPipeOutputStream::AddRef()':
nsPipe2.cpp:639: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `virtual nsrefcnt 
   nsPipe::nsPipeOutputStream::Release()':
nsPipe2.cpp:647: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `virtual nsresult 
   nsPipe::nsPipeOutputStream::Close()':
nsPipe2.cpp:653: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `virtual nsresult 
   nsPipe::nsPipeOutputStream::WriteSegments(nsresult (*)(nsIOutputStream*, 
   void*, char*, unsigned int, unsigned int, PRUint32*), void*, unsigned int, 
   PRUint32*)':
nsPipe2.cpp:673: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
nsPipe2.cpp: In member function `virtual nsresult 
   nsPipe::nsPipeOutputStream::Flush()':
nsPipe2.cpp:796: warning: invalid offsetof from non-POD type `class nsPipe'; 
   use pointer to member instead
make[3]: Leaving directory `/var/tmp/portage/mozilla-1.2.1-r5/work/mozilla/xpcom
/io'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/var/tmp/portage/mozilla-1.2.1-r5/work/mozilla/xpcom
'
make[1]: *** [tier_2] Error 2
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.2.1-r5/work/mozilla'
make: *** [default] Error 2

!!! ERROR: net-www/mozilla-1.2.1-r5 failed.
!!! Function src_compile, Line 483, Exitcode 2
!!! (no error message)


cc1plus:

Broken

pipe:

error

writing

to

-


------------------
using cflags: "-mcpu=athlon -O3 -pipe -fomit-frame-pointer -fforce-addr"
using USE flags: "moznoirc moznomail moznocompose -gnome -gnome2"
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-22 17:46:50 UTC
How much memory and swap ?
Comment 2 Chris Hornbaker 2003-01-22 19:34:20 UTC
around 300 MB RAM and 200MB sawp.
I've already built Mozilla once on this machine, btw.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-23 01:32:37 UTC
What version gcc ?  if gcc-3.2.1-r[67], then maybe check that you have 
gcc-config-1.3.1, and try again ?
Comment 4 Stefan 2003-02-21 09:26:45 UTC
I got just the same problem. Got gcc-3.2.1-r6 and the proposed gcc-config-1.3.1. Still doesn't work any better. 
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-22 06:24:40 UTC
Try to update to gcc-3.2.2 ... its g++ segfaulting, so either a gcc problem,
or maybe hardware/not enouth memory problem.  Try to increase swap to 256mb,
and if you have more than one dimm, take out the smaller.

Comment 6 Stefan 2003-02-24 02:59:10 UTC
Nope, a simple change to autoconf 2.5 did the trick! As explained in the forum (there should be a thread under FAQ that says "ebuilds fail? ..." or something like this. Or search for autoconf!
Comment 7 Chris Hornbaker 2003-03-08 18:45:46 UTC
This is no longer a bug.
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-04-22 06:23:20 UTC
autoconf update made it