bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13254] New: -z text warning breaks gcc testsuite on Solaris


From: ro at TechFak dot Uni-Bielefeld.DE
Subject: [Bug ld/13254] New: -z text warning breaks gcc testsuite on Solaris
Date: Tue, 04 Oct 2011 14:23:28 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13254

             Bug #: 13254
           Summary: -z text warning breaks gcc testsuite on Solaris
           Product: binutils
           Version: 2.22
            Status: NEW
          Severity: critical
          Priority: P1
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden
                CC: address@hidden
    Classification: Unclassified
              Host: *-*-solaris2.*
            Target: *-*-solaris2.*
             Build: *-*-solaris2.*


I've just tried mainline gcc with binutils 2.21.90 on Solaris 11/x86.  Two
changes from 2.21.1 cause massive gcc testsuite failures:

FAIL: staticrootslib.lo -O2 (test for excess errors)
Excess errors:
/vol/gcc/bin/gld-2.21.90: warning: -z text ignored.

The warning is new in 2.22.  It was introduced by this change

2011-07-14  Alan Modra  <address@hidden>

    * emultempl/elf32.em (gld${EMULATION_NAME}_add_options,
    gld${EMULATION_NAME}_handle_option, gld${EMULATION_NAME}_list_options):
    Provide --build-id, -z defs, -z muldefs, -z max-page-size,
    -z common-page-size, -z execstack, -z noexecstack for all targets.
    Add help for --exclude-libs.

but is missing from the ChangeLog.  If this warning remains in the released
ld 2.22, that becomes mostly useless on Solaris.  While one might be able to
change gcc itself to not pass -z text if using (recent) gld, other instances
of the option are from libtool and cannot that easily changed.

  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.



reply via email to

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