bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/310] New: error while compiling mozilla 1.7.x (H.J. Lu's binutil


From: j at bitron dot ch
Subject: [Bug ld/310] New: error while compiling mozilla 1.7.x (H.J. Lu's binutils for Linux)
Date: 7 Aug 2004 15:53:03 -0000

I'm getting a strange error when trying to build mozilla 1.7 with H.J. Lu's
binutils 2.15.91.0.2 for Linux.

Extract from the build log:

c++ -I/usr/X11R6/include -frtti -fno-exceptions -Wall -Wconversion
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe 
-DNDEBUG -DTRIMMED -ffunction-sections -O -fPIC -shared -Wl,-h
-Wl,libgklayout.so -o libgklayout.so  nsLayoutModule.o nsContentHTTPStartup.o
nsContentDLF.o       -Wl,--whole-archive ../../dist/lib/libgkhtmlbase_s.a
../../dist/lib/libgkhtmldoc_s.a ../../dist/lib/libgkhtmlforms_s.a
../../dist/lib/libgkhtmlstyle_s.a ../../dist/lib/libgkhtmltable_s.a
../../dist/lib/libgkxulbase_s.a ../../dist/lib/libgkbase_s.a
../../dist/lib/libgkconbase_s.a ../../dist/lib/libgkconevents_s.a
../../dist/lib/libgkconhtmlcon_s.a ../../dist/lib/libgkconhtmldoc_s.a
../../dist/lib/libgkconhtmlstyle_s.a ../../dist/lib/libgkconxmlcon_s.a
../../dist/lib/libgkconxmldoc_s.a ../../dist/lib/libgkconxbl_s.a
../../dist/lib/libgkconxuldoc_s.a ../../dist/lib/libgkconshared_s.a
../../dist/lib/libgkview_s.a ../../dist/lib/libjsdombase_s.a
../../dist/lib/libjsdomevents_s.a ../../dist/lib/libjsurl_s.a 
../../dist/lib/libgkxultree_s.a ../../dist/lib/libgkxulgrid_s.a
../../dist/lib/libgkconxulcon_s.a ../../dist/lib/libgkconxultmpl_s.a 
../../dist/lib/libgkmathmlcon_s.a ../../dist/lib/libgkmathmlbase_s.a 
-Wl,--no-whole-archive -L../../dist/bin -L../../dist/lib -lgkgfx
../../dist/lib/libunicharutil_s.a -L../../dist/bin -lxpcom  -L../../dist/bin
-L/usr/src/mozilla-1.7-20040807/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl 
-L../../dist/bin -lmozjs  -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -Wl,--version-script
-Wl,../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic
-ldl -lm    
`.L1006' referenced in section `.rodata' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o): defined in
discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o)
`.L1007' referenced in section `.rodata' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o): defined in
discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o)
`.L1012' referenced in section `.rodata' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o): defined in
discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o)
`.L1002' referenced in section `.rodata' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o): defined in
discarded section `.gnu.linkonce.t._ZN21nsROCSSPrimitiveValue5ResetEv' of
../../dist/lib/libgkconhtmlstyle_s.a(nsROCSSPrimitiveValue.o)
collect2: ld returned 1 exit status
make[3]: *** [libgklayout.so] Error 1
make[3]: Leaving directory `/usr/src/mozilla-1.7-20040807/layout/build'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/usr/src/mozilla-1.7-20040807/layout'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/usr/src/mozilla-1.7-20040807'
make: *** [default] Error 2

System Info:
P4-2.53
Linux 2.6.8-rc2
tried once with glibc 20040719 and once with 20040806 => no difference
gcc 3.3.4
binutils 2.15.91.0.2

As soon as I replaced the installed binutils with binutils 2.15.91.0.1, the
problem disappeared.

I can provide further info about the system / the build if needed.

-- 
           Summary: error while compiling mozilla 1.7.x (H.J. Lu's binutils
                    for Linux)
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: j at bitron dot ch
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=310

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]