This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/19802] New: scan-not-hidden breaks with unknown object format
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Feb 2005 02:11:53 -0000
- Subject: [Bug other/19802] New: scan-not-hidden breaks with unknown object format
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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