public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Teemu Torma <tot@trema.com>
To: egcs@cygnus.com
Subject: A patch for hppa1.1-hp-hpux10.20 w/ --enable-shared
Date: Wed, 03 Dec 1997 04:08:00 -0000	[thread overview]
Message-ID: <199712031208.NAA19982@lev.labs.trema.com> (raw)

I seems that libgcc should not be linked into shared libraries
on hpux10.20, or almost all eh-tests will fail.  I guess the same is
true for the other hpux versions.  With this patch, there are no
unexpected failures in check-g++.

XPASS: g++.jason/destruct3.C - (test for bogus messages, line 38)
XPASS: g++.mike/dyncast1.C  Execution test
XPASS: g++.mike/dyncast2.C  Execution test
XPASS: g++.mike/eh33.C (test for excess errors)
XPASS: g++.mike/eh33.C  Execution test
XPASS: g++.mike/eh50.C (test for excess errors)
XPASS: g++.mike/eh50.C  Execution testg

                === g++ Summary ===

# of expected passes            3397
# of unexpected successes       7
# of expected failures          80
# of untested testcases         6

Teemu

1997-12-03  Teemu Torma  <tot@trema.com>

	* config/pa/pa-hpux.h (LIBGCC_SPEC): If -shared, do not link
	against libgcc.

Index: config/pa/pa-hpux.h
===================================================================
RCS file: /trema/cvs/gnu/egcs/gcc/config/pa/pa-hpux.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -c -r1.1.1.1 -r1.2
/usr/gnu/bin/diff: conflicting specifications of output style
*** pa-hpux.h	1997/09/26 09:58:01	1.1.1.1
--- pa-hpux.h	1997/12/03 11:06:57	1.2
***************
*** 32,37 ****
--- 32,41 ----
  #undef LIB_SPEC
  #define LIB_SPEC "%{!shared:%{!p:%{!pg:-lc}}%{p: -L/lib/libp/ -lc}%{pg: -L/lib/libp/ -lc}}"
  
+ #undef  LIBGCC_SPEC
+ #define LIBGCC_SPEC \
+   "%{!shared:-lgcc}"
+ 
  #undef CPP_PREDEFINES
  #define CPP_PREDEFINES "-Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -Asystem(unix) -Asystem(hpux) -Acpu(hppa) -Amachine(hppa)"
  

             reply	other threads:[~1997-12-03  4:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-03  4:08 Teemu Torma [this message]
1997-12-03  6:21 ` Neal Becker
1997-12-03  8:23 ` Neal Becker
1997-12-03 10:32   ` Teemu Torma
1997-12-03 15:32     ` Jeffrey A Law
1997-12-03 12:54       ` Neal Becker
1997-12-03 12:54         ` Jeffrey A Law
1997-12-04  1:30       ` Teemu Torma
     [not found] ` <u967p6o0ot.fsf.cygnus.egcs@neal.ctd.comsat.com>
1997-12-03 12:54   ` Jason Merrill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199712031208.NAA19982@lev.labs.trema.com \
    --to=tot@trema.com \
    --cc=egcs@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).