public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug bootstrap/13386] New: HAVE_GAS_HIDDEN not set when using GAS with HP linker @ 2003-12-11 21:59 danglin at gcc dot gnu dot org 2003-12-11 22:06 ` [Bug bootstrap/13386] " dave at hiauly1 dot hia dot nrc dot ca ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: danglin at gcc dot gnu dot org @ 2003-12-11 21:59 UTC (permalink / raw) To: gcc-bugs 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 I wrote a little test program to check with the HP linker handles hidden visibility. At least based on a simple test and looking at the object file with readelf, it does. We have the following code in configure.in: else # non-GNU linkers don't seem to support .hidden yet gcc_cv_ld_hidden=no fi Obviously, this needs to be enhanced but I'm not sure how to provide a viable test. Suggestions? -- Summary: HAVE_GAS_HIDDEN not set when using GAS with HP linker Product: gcc Version: 3.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: hppa64-hp-hpux11.x GCC host triplet: hppa64-hp-hpux11.x GCC target triplet: hppa64-hp-hpux11.x http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13386 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/13386] HAVE_GAS_HIDDEN not set when using GAS with HP linker 2003-12-11 21:59 [Bug bootstrap/13386] New: HAVE_GAS_HIDDEN not set when using GAS with HP linker danglin at gcc dot gnu dot org @ 2003-12-11 22:06 ` dave at hiauly1 dot hia dot nrc dot ca 2003-12-11 22:12 ` pinskia at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: dave at hiauly1 dot hia dot nrc dot ca @ 2003-12-11 22:06 UTC (permalink / raw) To: gcc-bugs ------- 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/13386] HAVE_GAS_HIDDEN not set when using GAS with HP linker 2003-12-11 21:59 [Bug bootstrap/13386] New: HAVE_GAS_HIDDEN not set when using GAS with HP linker danglin at gcc dot gnu dot org 2003-12-11 22:06 ` [Bug bootstrap/13386] " dave at hiauly1 dot hia dot nrc dot ca @ 2003-12-11 22:12 ` pinskia at gcc dot gnu dot org 2003-12-16 18:01 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2003-12-11 22:12 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-11 22:12 ------- Confirmed (this is an enhancement also). -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2003-12-11 22:12:01 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13386 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/13386] HAVE_GAS_HIDDEN not set when using GAS with HP linker 2003-12-11 21:59 [Bug bootstrap/13386] New: HAVE_GAS_HIDDEN not set when using GAS with HP linker danglin at gcc dot gnu dot org 2003-12-11 22:06 ` [Bug bootstrap/13386] " dave at hiauly1 dot hia dot nrc dot ca 2003-12-11 22:12 ` pinskia at gcc dot gnu dot org @ 2003-12-16 18:01 ` cvs-commit at gcc dot gnu dot org 2003-12-16 18:18 ` danglin at gcc dot gnu dot org 2003-12-16 18:50 ` dhazeghi at yahoo dot com 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2003-12-16 18:01 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-12-16 17:50 ------- Subject: Bug 13386 CVSROOT: /cvs/gcc Module name: gcc Changes by: danglin@gcc.gnu.org 2003-12-16 17:50:01 Modified files: gcc : ChangeLog configure.in configure Log message: PR bootstrap/13386 * configure.in (gcc_cv_ld_hidden): Set to yes on hppa64*-*-hpux* when using HP native linker. * configure: Rebuilt. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.2011&r2=2.2012 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.in.diff?cvsroot=gcc&r1=1.759&r2=1.760 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.diff?cvsroot=gcc&r1=1.783&r2=1.784 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13386 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/13386] HAVE_GAS_HIDDEN not set when using GAS with HP linker 2003-12-11 21:59 [Bug bootstrap/13386] New: HAVE_GAS_HIDDEN not set when using GAS with HP linker danglin at gcc dot gnu dot org ` (2 preceding siblings ...) 2003-12-16 18:01 ` cvs-commit at gcc dot gnu dot org @ 2003-12-16 18:18 ` danglin at gcc dot gnu dot org 2003-12-16 18:50 ` dhazeghi at yahoo dot com 4 siblings, 0 replies; 6+ messages in thread From: danglin at gcc dot gnu dot org @ 2003-12-16 18:18 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From danglin at gcc dot gnu dot org 2003-12-16 18:02 ------- Fixed. http://gcc.gnu.org/ml/gcc-patches/2003-12/msg01321.html -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13386 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/13386] HAVE_GAS_HIDDEN not set when using GAS with HP linker 2003-12-11 21:59 [Bug bootstrap/13386] New: HAVE_GAS_HIDDEN not set when using GAS with HP linker danglin at gcc dot gnu dot org ` (3 preceding siblings ...) 2003-12-16 18:18 ` danglin at gcc dot gnu dot org @ 2003-12-16 18:50 ` dhazeghi at yahoo dot com 4 siblings, 0 replies; 6+ messages in thread From: dhazeghi at yahoo dot com @ 2003-12-16 18:50 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13386 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-12-16 18:40 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-12-11 21:59 [Bug bootstrap/13386] New: HAVE_GAS_HIDDEN not set when using GAS with HP linker danglin at gcc dot gnu dot org 2003-12-11 22:06 ` [Bug bootstrap/13386] " dave at hiauly1 dot hia dot nrc dot ca 2003-12-11 22:12 ` pinskia at gcc dot gnu dot org 2003-12-16 18:01 ` cvs-commit at gcc dot gnu dot org 2003-12-16 18:18 ` danglin at gcc dot gnu dot org 2003-12-16 18:50 ` dhazeghi at yahoo dot com
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).