public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* A patch for hppa1.1-hp-hpux10.20 w/ --enable-shared
@ 1997-12-03  4:08 Teemu Torma
  1997-12-03  6:21 ` Neal Becker
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Teemu Torma @ 1997-12-03  4:08 UTC (permalink / raw)
  To: egcs

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)"
  

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1997-12-04  1:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-03  4:08 A patch for hppa1.1-hp-hpux10.20 w/ --enable-shared Teemu Torma
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

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).