[Bug gold/12525] gold SEGV linking libgcc_s.so.1 on Solaris 11/x86
http://sourceware.org/bugzilla/show_bug.cgi?id=12525 --- Comment #22 from Rainer Orth 2011-03-09 09:49:09 UTC --- > --- Comment #21 from Ian Lance Taylor 2011-03-09 > 01:56:59 UTC --- > There's not much point to trying to use gold to build gcc until gold passes at > least most of its tests. Ok. > The failure on basic_static_test looks like you don't have libc.a or > libm.a--that is, it looks like gcc -static is always going to fail, whether > using gold or the existing linker. Is that correct? Right: starting from Solaris 10, static system libs are gone, and 64-bit static libs didn't exist ever, even when 64-bit support was introduced in Solaris 7. > I committed a patch which should fix the problem of passing too many values to > readv. Thanks, I'll give it a try. > I don't know what's going on with the other two errors. I'll investigate as time permits. Rainer -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/12557] New: Firefox fails to build with -flto and --as-needed LDFLAGS
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 Summary: Firefox fails to build with -flto and --as-needed LDFLAGS Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@sources.redhat.com ReportedBy: cryptooctopl...@gmail.com Please see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375#c53 Firefox 4 fails to build with the following flags: CXXFLAGS="-march=native -fpermissive -flto=4 -fuse-linker-plugin -fwhole-program" LDFLAGS="-Wl,-O1,--hash-style=gnu,--as-needed,--no-keep-memory" c++ -o xpcshell -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long -march=native -fpermissive -flto=4 -fuse-linker-plugin -fwhole-program -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O3 xpcshell.o -lpthread -Wl,-O1,--hash-style=gnu,--as-needed,--no-keep-memory -Wl,-rpath-link,/var/tmp/mozilla-central/moz-build-dir/dist/bin -Wl,-rpath-link,/usr/lib -L../../../../dist/bin -L../../../../dist/lib ../../../../dist/lib/libxpcomglue_s.a -L/var/tmp/mozilla-central/moz-build-dir/dist/bin -lxpcom -lmozalloc -lxul -L/var/tmp/mozilla-central/moz-build-dir/dist/bin -lxpcom -lmozalloc -lxul -Wl,-R/usr/lib64 -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl ../../../../dist/bin/libxul.so: undefined reference to `PR_smprintf_free' ../../../../dist/bin/libxul.so: undefined reference to `PR_SetEnv' ../../../../dist/bin/libxul.so: undefined reference to `PR_Now' ../../../../dist/bin/libxul.so: undefined reference to `PR_GetErrorText' ../../../../dist/bin/libxul.so: undefined reference to `PR_FindFunctionSymbol' ../../../../dist/bin/libxul.so: undefined reference to `PR_PushIOLayer' ../../../../dist/bin/libxul.so: undefined reference to `PR_ntohs' ../../../../dist/bin/libxul.so: undefined reference to `PR_FormatTimeUSEnglish' ../../../../dist/bin/libxul.so: undefined reference to `PR_MemMap' ../../../../dist/bin/libxul.so: undefined reference to `PR_LocalTimeParameters' ../../../../dist/bin/libxul.so: undefined reference to `PR_GetDefaultIOMethods' ../../../../dist/bin/libxul.so: undefined reference to `PR_ReadDir' ../../../../dist/bin/libxul.so: undefined reference to `PR_SetPollableEvent' ../../../../dist/bin/libxul.so: undefined reference to `PR_FindSymbol' /usr/lib/libssl3.so: undefined reference to `PR_OpenAnonFileMap' /usr/lib/libssl3.so: undefined reference to `PR_ExportFileMapAsString' ../../../../dist/bin/libxul.so: undefined reference to `PR_Delete' ../../../../dist/bin/libxul.so: undefined reference to `PR_AtomicSet' /usr/lib/libnss3.so: undefined reference to `PR_NewRWLock' ../../../../dist/bin/libxul.so: undefined reference to `PR_SetNetAddr' ... It builds fine without the "--as-needed" LDFLAG. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 Octoploid changed: What|Removed |Added CC||cryptooctoploid at gmail ||dot com Component|binutils|ld -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/12558] New: AR "move in an archive" operation fails
http://sourceware.org/bugzilla/show_bug.cgi?id=12558 Summary: AR "move in an archive" operation fails Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@sources.redhat.com ReportedBy: d.g.gorbac...@gmail.com $ ar cm foo.a foo.o ar: no entry foo.o in archive foo.a! -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12559] New: GOLD cannot find entry symbol in a static library
http://sourceware.org/bugzilla/show_bug.cgi?id=12559 Summary: GOLD cannot find entry symbol in a static library Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: i...@airs.com ReportedBy: d.g.gorbac...@gmail.com Created attachment 5282 --> http://sourceware.org/bugzilla/attachment.cgi?id=5282 Testcase (GOLD produces wrong executable) ld: warning: cannot find entry symbol 'entry' -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING CC||hjl.tools at gmail dot com --- Comment #1 from H.J. Lu 2011-03-09 23:12:56 UTC --- Can you extra a small testcase? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12557] Firefox fails to build with -flto and --as-needed LDFLAGS
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 --- Comment #2 from Octoploid 2011-03-10 06:31:09 UTC --- The problem comes from: "-Wl,-R/usr/lib64 -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl" If I remove "-lnspr4" from above, ld links without any problem. When I remove the whole system library part: "-Wl,-R/usr/lib64 -L/usr/lib64 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl" ld still links fine. So it seems that ld gets irritated when you explicitly specify system libraries that it already figured out itself in the -flto/--as-needed case. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils