target/5505: Doubts about a patch for OSF

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Wed Jan 30 11:56:00 GMT 2002


Richard B. Kreckel writes:

> I am sorry, if I had been able to extract a testcase in less than two or
> three days I would have done so.  In this case it was easier to point out
> the precise patch to GCC that broke the system.  BTW, here is how GCC was
> configured:
> Reading specs from
> ./DUX4-GCC3.0.3-vanilla-goofy/bin/../lib/gcc-lib/alphaev5-dec-osf5.1/3.0.3/specs
> Configured with: ../gcc-3.0.3-vanilla/configure --prefix=/homes/iphuthep/kreckel/DUX4
> Thread model: single
> gcc version 3.0.3

The copy used for testing is:

Configured with: /vol/gnu/src/gcc/gcc-3.0-branch-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --enable-shared --disable-nls --enable-libgcj alpha-dec-osf5.1
Thread model: single
gcc version 3.0.2 20010921 (prerelease)

> Just to make sure: that copy of a gcc 3.0.2 prerelease incorporates the
> patch in question, yes?  And it really did pass `make check'?

Sure: the patch went in on 2001-07-19 (i.e. before the 3.0.1 release), the
prerelease above is two months newer, i.e. well into the 3.0.2 phase.

It certainly passed make check since at that time I was working to get a
patch in to enable libgcj support on Tru64 UNIX.

> If it helps, I have confirmed the breakage on two systems.  Here are the
> characteristics:
> 
> goofy:~$ as -V
> Compaq C V6.3-025 on Compaq Tru64 UNIX V5.1 (Rev. 732)
> Compiler Driver V6.3-026 (sys) cc Driver
> goofy:~$ ld -V
> /usr/ucb/ld version 5.1
> Error: No object file linked
> goofy:~$ /usr/sbin/sizer -v
> Compaq Tru64 UNIX V5.1 (Rev. 732); Wed Feb 14 13:55:21 MET 2001
> 
> micky:~$ as -V
> Compaq C V6.3-027 on Compaq Tru64 UNIX V5.1 (Rev. 732)
> Compiler Driver V6.3-026 (sys) cc Driver
> micky:~$ ld -V
> /usr/ucb/ld version 5.1
> Error: No object file linked
> micky:~$ /usr/sbin/sizer -v
> Compaq Tru64 UNIX V5.1 (Rev. 732); Mon Jan 22 16:46:11 MET 2001
> 
> It appears they both have Patch Kit 2.  Could you please send me the
> output of these commands from your system?  If you confirm that CLN works

> as -V
Compaq C V6.3-028 on Compaq Tru64 UNIX V5.1 (Rev. 732)
Compiler Driver V6.3-026 (sys) cc Driver
> ld -V
/usr/bin/ld version 5.1
> sizer -v
Compaq Tru64 UNIX V5.1 (Rev. 732); Fri May  4 19:34:14 MEST 2001

but this doesn't give too much information.  I've checked /usr/.smdb./*.inv
and found that /usr/ccs/lib/cmplrs/cc/as[01] (the assembler passes invoked
by as -oldas) are from the vanilla OSFCMPLRS510 subset, whereas
/usr/ccs/lib/cmplrs/cc/ld (i.e. ld) is from OSFPAT00035800510 (i.e. Patch
358.00)

> on your Tru64 box with a new GCC including your patch, we could just let

As I said, make and make check both passed with the above snapshot.  I can
try a fresh bootstrap from current 3.0 branch sources, just to make sure,
but this may take some time.

> it rest, I suppose.  It would be very helpful for everybody, though, to
> know what is needed to get it working.

Certainly: if we find out that e.g. a specific ld patch is required, this
should clearly be documented in the installation notes.

	Rainer



More information about the Gcc-bugs mailing list