This is the mail archive of the gcc@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]

A patch for hppa1.1-hp-hpux10.20 w/ --enable-shared


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


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