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: unassig...@gcc.gnu.org
        ReportedBy: r...@gcc.gnu.org
                CC: f...@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

Reply via email to