This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/13386] HAVE_GAS_HIDDEN not set when using GAS with HP linker
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2003 22:06:52 -0000
- Subject: [Bug bootstrap/13386] HAVE_GAS_HIDDEN not set when using GAS with HP linker
- References: <20031211215907.13386.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2003-12-11 22:06 -------
Subject: Re: New: HAVE_GAS_HIDDEN not set when using GAS
> The following new tests fail on hppa64-hp-hpux11.11:
>
> FAIL: gcc.dg/visibility-1.c (test for excess errors)
> FAIL: gcc.dg/visibility-1.c scan-assembler \.hidden.*foo
> FAIL: gcc.dg/visibility-2.c (test for excess errors)
> FAIL: gcc.dg/visibility-2.c scan-assembler \.hidden.*foo
> FAIL: gcc.dg/visibility-3.c (test for excess errors)
> FAIL: gcc.dg/visibility-3.c scan-assembler \.hidden.*xyzzy
> FAIL: gcc.dg/visibility-4.c (test for excess errors)
> FAIL: gcc.dg/visibility-4.c scan-assembler \.hidden.*xyzzy
> FAIL: gcc.dg/visibility-5.c (test for excess errors)
> FAIL: gcc.dg/visibility-5.c scan-assembler \.hidden.*foo
> FAIL: gcc.dg/visibility-6.c (test for excess errors)
> FAIL: gcc.dg/visibility-6.c scan-assembler \.hidden.*xyzzy
> FAIL: gcc.dg/visibility-7.c (test for excess errors)
> FAIL: gcc.dg/visibility-7.c scan-assembler \.hidden.*xyzzy
Oh, I should have mentioned that the output of the configure
test for .hidden support was no and we have as a result
/* Define if your assembler and linker support .hidden. */
/* #undef HAVE_GAS_HIDDEN */
in auto-host.h. However, check_visibility_available returns
1 for all ELF targets (see target-supports.exp). This is why we
get the testsuite FAILS.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13386