public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libmudflap/49549] New: Use of --noinhibit-exec is unportable
@ 2011-06-27 17:36 ro at gcc dot gnu.org
  2011-07-01  9:00 ` [Bug libmudflap/49549] " ro at gcc dot gnu.org
  2011-07-01  9:02 ` ro at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: ro at gcc dot gnu.org @ 2011-06-27 17:36 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libmudflap/49549] Use of --noinhibit-exec is unportable
  2011-06-27 17:36 [Bug libmudflap/49549] New: Use of --noinhibit-exec is unportable ro at gcc dot gnu.org
@ 2011-07-01  9:00 ` ro at gcc dot gnu.org
  2011-07-01  9:02 ` ro at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ro at gcc dot gnu.org @ 2011-07-01  9:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> 2011-07-01 08:59:23 UTC ---
Author: ro
Date: Fri Jul  1 08:59:20 2011
New Revision: 175749

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175749
Log:
    libmudflap:
    PR libmudflap/49549
    * testsuite/lib/libmudflap.exp (load_gcc_lib): Load
    target-supports.exp.
    * testsuite/libmudflap.cth/cthfrags.exp: Only pass
    --noinhibit-exec to GNU ld.

    gcc:
    PR libmudflap/49549
    * doc/sourcebuild.texi (Effective-Target Keywords): Document gld.

    gcc/testsuite:
    PR libmudflap/49549
    * lib/target-supports.exp (check_effective_target_gld): New proc.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/sourcebuild.texi
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/lib/target-supports.exp
    trunk/libmudflap/ChangeLog
    trunk/libmudflap/testsuite/lib/libmudflap.exp
    trunk/libmudflap/testsuite/libmudflap.cth/cthfrags.exp


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libmudflap/49549] Use of --noinhibit-exec is unportable
  2011-06-27 17:36 [Bug libmudflap/49549] New: Use of --noinhibit-exec is unportable ro at gcc dot gnu.org
  2011-07-01  9:00 ` [Bug libmudflap/49549] " ro at gcc dot gnu.org
@ 2011-07-01  9:02 ` ro at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ro at gcc dot gnu.org @ 2011-07-01  9:02 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2011-06/msg02378.htm
                   |                            |l
         Resolution|                            |FIXED
         AssignedTo|unassigned at gcc dot       |ro at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.7.0

--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> 2011-07-01 09:01:33 UTC ---
Fixed for 4.7.0.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-01  9:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-27 17:36 [Bug libmudflap/49549] New: Use of --noinhibit-exec is unportable ro at gcc dot gnu.org
2011-07-01  9:00 ` [Bug libmudflap/49549] " ro at gcc dot gnu.org
2011-07-01  9:02 ` ro at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).