Bug on Mozilla side for Reference
https://bugzilla.mozilla.org/show_bug.cgi?id=342472

When trying to build any mozllia program with GCC 4.0 and greater build fails
c++ -save-temps -I/usr/X11R7/include -fno-rtti -fno-exceptions -Wall
-Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -mcpu=G3
-mtune=G3 -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -mcpu=G3 -mtune=G3
-fno-strict-aliasing -O1 -fPIC -shared -Wl,-h -Wl,libxpcom_compat.so -o
libxpcom_compat.so  nsFileSpec.o nsFileStream.o nsIFileStream.o
nsFileSpecImpl.o nsSpecialSystemDirectory.o       -Wl,--whole-archive
../../dist/lib/libmozreg_s.a  -Wl,--no-whole-archive  -L../../dist/bin -lxpcom
-lxpcom_core  -L../../dist/bin -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl
-ldl -lm
c++: warning: -pipe ignored because -save-temps specified
nsSpecialSystemDirectory.o: In function
`nsSpecialSystemDirectory::Set(nsSpecialSystemDirectory::SystemDirectories,
nsFileSpec*)':
nsSpecialSystemDirectory.cpp:(.text+0x1d0): undefined reference to
`nsHashtable::nsHashtable(unsigned int, int)'
nsSpecialSystemDirectory.cpp:(.text+0x204): undefined reference to
`nsHashtable::Put(nsHashKey*, void*)'
nsSpecialSystemDirectory.cpp:(.text+0x214): undefined reference to
`nsHashKey::~nsHashKey()'
nsSpecialSystemDirectory.o: In function
`nsSpecialSystemDirectory::operator=(nsSpecialSystemDirectory::SystemDirectories)':
nsSpecialSystemDirectory.cpp:(.text+0x3d0): undefined reference to
`nsHashtable::Get(nsHashKey*)'
nsSpecialSystemDirectory.cpp:(.text+0x3fc): undefined reference to
`nsHashtable::Get(nsHashKey*)'
nsSpecialSystemDirectory.cpp:(.text+0x448): undefined reference to
`nsHashtable::Get(nsHashKey*)'
nsSpecialSystemDirectory.cpp:(.text+0x474): undefined reference to
`nsHashtable::Get(nsHashKey*)'
nsSpecialSystemDirectory.cpp:(.text+0x4c0): undefined reference to
`nsHashtable::Get(nsHashKey*)'
nsSpecialSystemDirectory.cpp:(.text+0x52c): undefined reference to
`nsHashKey::~nsHashKey()'
nsSpecialSystemDirectory.cpp:(.text+0x538): undefined reference to
`nsHashKey::~nsHashKey()'
nsSpecialSystemDirectory.o: In function
`SystemDirectoriesKey::~SystemDirectoriesKey()':
nsSpecialSystemDirectory.cpp:(.text._ZN20SystemDirectoriesKeyD0Ev[SystemDirectoriesKey::~SystemDirectoriesKey()]+0x34):
undefined reference to `nsHashKey::~nsHashKey()'
nsSpecialSystemDirectory.o: In function
`SystemDirectoriesKey::~SystemDirectoriesKey()':
nsSpecialSystemDirectory.cpp:(.text._ZN20SystemDirectoriesKeyD1Ev[SystemDirectoriesKey::~SystemDirectoriesKey()]+0x2c):
undefined reference to `nsHashKey::~nsHashKey()'
collect2: ld returned 1 exit status
make[2]: *** [libxpcom_compat.so] Error 1
make[2]: Leaving directory `/usr/src/seamonkey-build/xpcom/obsolete'
make[1]: *** [tier_2] Error 2
make[1]: Leaving directory `/usr/src/seamonkey-build'
make: *** [default] Error 2


-- 
           Summary: Error during CPP build of Mozilla
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: giffordj at linkline dot com
 GCC build triplet: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29189

Reply via email to