This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/19802] New: scan-not-hidden breaks with unknown object format


testsuite/lib/scanasm.exp:hidden-scan-for returns an empty string
for object formats other than elf and mach-o.  This causes any
tests using scan-not-hidden to fail.  Instead, they should be
UNRESOLVED when how to test for hidden symbols on that object format
is not known.  Likewise, scan-hidden should also yield UNRESOLVED
in this case.

The problem arises for systems where objdump is unavailable or
fails to identify the file format - which may in fact be ELF with
visibility support but no working ELF objdump.  It can also be reproduced
on ELF systems with working objdump by changing the regexp
in hidden-scan-for to "" for ELF.

-- 
           Summary: scan-not-hidden breaks with unknown object format
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,janis187 at us dot ibm
                    dot com


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]