This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libmudflap/49549] New: Use of --noinhibit-exec is unportable
- From: "ro at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Jun 2011 17:36:37 +0000
- Subject: [Bug libmudflap/49549] New: Use of --noinhibit-exec is unportable
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49549
Summary: Use of --noinhibit-exec is unportable
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libmudflap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ro@gcc.gnu.org
CC: fche@redhat.com
Host: i386-pc-solaris2.11
Target: i386-pc-solaris2.11
Build: i386-pc-solaris2.11
Use of -Wl,--noinhibit-exec in the libmudflap testsuite
(libmudflap.cth/cthfrags.exp) is unportable. The Solaris linker doesn't
understand it, causing all affected testcases to fail:
spawn /var/gcc/gcc-4.7.0-20110617/11-gcc/gcc/xgcc
-B/var/gcc/gcc-4.7.0-20110617/11-gcc/gcc/ -ggdb3 -DDEBUG_ASSERT
-I/vol/gcc/src/hg/trunk/solaris/libmudflap/testsuite
-I/vol/gcc/src/hg/trunk/solaris/libmudflap/testsuite/.. -I..
-L/var/gcc/gcc-4.7.0-20110617/11-gcc/i386-pc-solaris2.11/./libmudflap/.libs
/vol/gcc/src/hg/trunk/solaris/libmudflap/testsuite/libmudflap.cth/pass37-frag.c
-fmudflapth -lmudflapth -lpthread -Wl,--noinhibit-exec
-L/var/gcc/gcc-4.7.0-20110617/11-gcc/i386-pc-solaris2.11/./libmudflap/testsuite
-lsocket -ldl -lm -o ./pass37-frag.exe
ld: fatal: unrecognized option '--'
ld: fatal: use the -z help option for usage information
collect2: error: ld returned 1 exit status
compiler exited with status 1