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 bootstrap/13386] New: HAVE_GAS_HIDDEN not set when using GAS with HP linker


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


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