This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: gcc 3.x test matrix


   From: Andreas Jaeger <aj@suse.de>
   Date: Sat, 01 Sep 2001 11:32:47 +0200

   Mark Kettenis <kettenis@science.uva.nl> writes:

   > I'll try to write the remaining test programs.  Unfortunately, it's
   > not likely that I'll be able to do any of the actual testing, since my
   > old Pentium MMX is far too slow and doesn't have enough disk space.
   > I'm happy to coordinate the testing though.

   Thanks for volunteering - if this matrix makes sense, I'll run the
   tests on some machines I have access to (Athlon, ia64, Sparc,
   PowerPC),

OK, here are the promised tests, with the test instructions (these are
also included in the README in the tarball).  When I start receiving
test-results, I'll try to send summaries to libc-alpha from time to time.

Mark

---------------------------------------------------------------------------

This is a small testsuite for _Unwind_Find_FDE in glibc.  The tests
should be compiled with GCC 3.0.1.  We should test both a glibc
compiled with GCC 2.95.x and a glibc compiled with GCC 3.0.1.  All
supported permutations of the usage of C++ code should be covered:

 * app:
   Normal C++ code linked against libgcc_s.so.1, throwing
   exceptions through glibc.

 * dso-app:
   C++ code linked against a C++ DSO (both linked against
   libgcc_s.so.1), throwing exceptions from the DSO through glibc,
   caught by the program.

 * dso-load-app:
   C++ code that dynamically loads a C++ DSO (all linkeded against
   libgcc_s.so.1), throwing exceptions from the DSO through glibc
   caught by the program.

 * dso-c-app:
   C code linked against a C++ DSO (only the DSO linked against
   libgcc_s.so.1), throwing exceptions from the DSO through glibc,
   caught by the DSO.

 * dso-load-c-app:
   C code that dynamically loads a C++ DSO (only the DSO linked
   against libgcc_s.so.1), throwing exceptions from the DSO through
   glibc, caught by the DSO.

If you have installed GCC 3.0.1 under /opt/gcc-3.0.1 you'll have to
set some environment variables:

CXX=/opt/gcc-3.0.1/bin/g++
CC=/opt/gcc-3.0.1/bin/gcc
LDFLAGS=-Wl,-rpath=/opt/gcc-3.0.1/lib

The LDFLAGS setting isn't necessary if you've made the shared
libraries that come with GCC 3.0.1 available for general use by some
other means (e.g. if /opt/gcc-3.0.1/lib is listed in /etc/ld.so.conf).

Note that with a standard glibc (that is without Jakub's patch) the
last two tests (dso-c-app and dso-load-c-app) fail.  They should
succeed for a patched glibc.

This testsuite can also be used for testing __frame_state_for in
glibc.  For that purpose the tests should be compiled with GCC 2.95.x.
Compilation of dummy.c will complain about the unrecognized option
-static-libgcc, but this should be harmless.  Please test both the
case where libgcc_s.so.1 (from GCC 3.0.1) is present in the library
search path, and the case where it isn't.  Don't set LDFLAGS in this
case.

Please send the output of "make check" to
libc-alpha@sources.redhat.com with a CC to kettenis@gnu.org.  Include
the platform, the version of GCC used to compile glibc and the version
of GCC used to compile the tests in your message.  If you used GCC
2.95.x to compile the testsuite, also mention whether libgcc_s.so.1 was
present in the library search path.

Thanks,

Mark

-----------------------------------------------------------------------

begin 644 test-eh.tar.gz
M'XL(`$,^D3L``^U<_W/3.A+G5_Q7[`0.XI*D^9ZY]OJ.DA:N=Z5E:#LP\_HN
M3[&5Q%/'REEV2Q['_WZ[DNW82=KT`0D<6,PTMB6M/KO2?M'*)N`R*//1]H,U
M%FA6.ZT6/`"`3KN9^8U*%9\TFLUZHU-MMP!JM7:U_0!:ZP05EU`&S`=X<,6#
M@'N.O+T=]V^M_/\M033_;#*I6-9ZQJA5J^UF\];Y;U2;]6C^ZZU6O8/S7^]T
M:@^@NAXXV?*3S_\CQ[/<T.;P-\F9;XTJHU^,U+/`=L3"(]?ITS-C>PO>^"(0
MP73"82!\$*$/M*!@$'I6X`BO`K"U;?`/`?<]<+P`;-%3#8ITP_RA50)KA/+?
MPNOK7W\S=Q75\Y$CP>8#Q^,2@A&'W\?,\9XF9(%Y-D@QYC`6/M>#S!"J)2VO
MN,L#1&!9B!1',RPQGC"?0]$2'B*X%HZ-P^+XJ=N^:7PT`!0$KEB1T.>NN`'J
MR7R?>4..0X?6"'&Q`/\@T@067C/WADVEH1:VQ5PWTWH?4$@OHC8T<(!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(CE9&<T+<JS6!-**)
MC-9QS&74V+BE\6Q%()M3VGB,29^'M!N(S);J@GV-*)I8UIL6:DFO4C),A`XE
MJU0V.VDW3!K+)PE2DZ24@'E7LF08KYE_]?WO/!:^_UM#$F!5_K=9C?__CWJG
M7J/\+VX)\OA_(R7__F_5D;!^Y2)J:MX!\YX?_,T2?VOZX&\VP)=\\!?+9D]S
M7-PRZ3=F&AE>_.0OZC+[WB^A\7D?^T7=9U_ZI3F[UY=^LP.]92_U_=`'>_<L
MB?W70=):QEB5_X5V*WG_KTV^H-:H-?+W?S92[FT&(SVJYDJ3E[S\,.5_,QS:
%3P!0````
`
end


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