Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-20 16:25 Harvey J. Stein
  0 siblings, 0 replies; 24+ messages in thread
From: Harvey J. Stein @ 1997-11-20 16:25 UTC (permalink / raw)


Enough of all this nonsense about ftp release dates.  Mustang (pre
5.0) is visible on Redhat's ftp server, and the devel tree is visible
too.  Are people really complaining that they don't have a perfect ftp
mirror of the CD before it comes out?!?

Here are some *real* questions about Redhat 5.0:

1. What kernel does it include?
      -What kernel version?
      -What patches are they applying?
      -Are they applying alpha-patches-2.0.30-0.2a.gz for SYSV IPC
       fixes & em86?
      -Are they applying ap-0.2-fixes-1.diff to fix the trap handling
       in the above patch?
      -Are they applying any weird home grown patches that haven't
       been on this list?

2. What gcc does it include?
      -Does it include Richard Henderson's large stack frame fix?
      -Does it include the profiling patches that have been floating
       around?

3. What binutils does it include?
      -Does it include David Mosberger's gprof patch?
      -Does it fix the header file conflict with glibc-headers?

4. What libraries does it include?
      -Does it include the binaries from David Mosberger that fix
       profiling?

5. Did they fix the netstat alignment problem?

-- 
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
       [not found] <m24t57bkhv.fsf@blinky.bfr.co.il>
@ 1997-11-20 17:11 ` Erik Troan
  0 siblings, 0 replies; 24+ messages in thread
From: Erik Troan @ 1997-11-20 17:11 UTC (permalink / raw)


On 20 Nov 1997, Harvey J. Stein wrote:

> 1. What kernel does it include?
>       -What kernel version?

2.0.30

>       -What patches are they applying?

The teardrop fix is included.

>       -Are they applying alpha-patches-2.0.30-0.2a.gz for SYSV IPC
>        fixes & em86?

Not quite, you can find the primary patch which was used on
ftp.redhat.com:/home/ewt/axp*.

> 2. What gcc does it include?
>       -Does it include Richard Henderson's large stack frame fix?
>       -Does it include the profiling patches that have been floating
>        around?

2.7.2.3, and I honestly don't remember which fixes are in there. rth
keeps sending me things, but...

> 3. What binutils does it include?
>       -Does it include David Mosberger's gprof patch?
>       -Does it fix the header file conflict with glibc-headers?

Same answer as above. It should have the header file conflict as well.

> 4. What libraries does it include?
>       -Does it include the binaries from David Mosberger that fix
>        profiling?

No.

> 5. Did they fix the netstat alignment problem?

I think so.

Most of the patches you're answering about floated around unofficially
on mailing lists. I'm loathe to apply them unless I have some idea who
did them and why.

Erik

-------------------------------------------------------------------------------
|       "For the next two hours, VH1 will be filled with foul-mouthed,        |
|          crossdressing Australians. Viewer discretion is advised."          |
|                                                                             |
|       Erik Troan   =   ewt@redhat.com     =    ewt@sunsite.unc.edu          |

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-21  9:17 Stefan Schroepfer
  0 siblings, 0 replies; 24+ messages in thread
From: Stefan Schroepfer @ 1997-11-21  9:17 UTC (permalink / raw)


Erik Troan wrote:
> 
> On 20 Nov 1997, Harvey J. Stein wrote:
> [...]
> > 3. What binutils does it include?
> >       -Does it include David Mosberger's gprof patch?
> 
> Same answer as above. It should have the header file conflict as well.

was: [...] and I honestly don't remember which fixes are in there.

> > 4. What libraries does it include?
> >       -Does it include the binaries from David Mosberger that fix
> >        profiling?
> 
> No.

That is not really at the point. RH 5.0 comes with a new libc,
so I suspect with a new libc_p (for profiling) also and further
that D. Mosberger-Tang's patches are not applicable to RH 5.0.

The *real* question is:
Will RH 5.0 allow profiling without patches?

scr@iis.fhg.de

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-21  9:50 R J Hill-Cottingham
  0 siblings, 0 replies; 24+ messages in thread
From: R J Hill-Cottingham @ 1997-11-21  9:50 UTC (permalink / raw)


> Date: Thu, 20 Nov 1997 12:11:27 -0500 (EST)
> From: Erik Troan <ewt@redhat.com>
> 
> On 20 Nov 1997, Harvey J. Stein wrote:
> 

<snip>

> > 2. What gcc does it include?
> >       -Does it include Richard Henderson's large stack frame fix?
> >       -Does it include the profiling patches that have been floating
> >        around?
> 
> 2.7.2.3, and I honestly don't remember which fixes are in there. rth
> keeps sending me things, but...

Does it include g77?

Roger Hill-Cottingham       eesrjhc@ee.bath.ac.uk

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
       [not found] <12915.9711210950@ee.bath.ac.uk>
@ 1997-11-21 13:50 ` Erik Troan
  0 siblings, 0 replies; 24+ messages in thread
From: Erik Troan @ 1997-11-21 13:50 UTC (permalink / raw)


On Fri, 21 Nov 1997, R J Hill-Cottingham wrote:

> > 2.7.2.3, and I honestly don't remember which fixes are in there. rth
> > keeps sending me things, but...
> 
> Does it include g77?

No, because it changes gcc's backend and isn't well tested. People have
found bugs in gcc which resulted frmo g77, and I'm not going to break
the widely used C compiler for a seldom-used fortran compiler.

The good news is the egcs group, which is working on extending gcc in
various ways, incorporates g77 in their standard release. Once egcs
is released (it's in alpha test right now), both egcs and egcs's
fortran support should end up in the standard Red Hat release.

Erik

-------------------------------------------------------------------------------
|       "For the next two hours, VH1 will be filled with foul-mouthed,        |
|          crossdressing Australians. Viewer discretion is advised."          |
|                                                                             |
|       Erik Troan   =   ewt@redhat.com     =    ewt@sunsite.unc.edu          |

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-21 14:52 Toon Moene
  0 siblings, 0 replies; 24+ messages in thread
From: Toon Moene @ 1997-11-21 14:52 UTC (permalink / raw)


R J Hill-Cottingham wrote:

> > Does it [ Redhat 5.0 ] include g77?

And Erik Troan replied:

>  No, because it changes gcc's backend and isn't well
>  tested. People have found bugs in gcc which resulted frmo
>  g77, and I'm not going to break the widely used C compiler
>  for a seldom-used fortran compiler.

This is a sound reason, and basically the same decision that led  
Debian onto the path of using g77-0.5.19[.1] (in stead of the - then  
curent - g77-0.5.20) in their 1.3.x distributions.  However, the  
situation is harder for Redhat, because (obviously) they want to  
have the same compiler suite for all three (four ?) architectures  
they support, and g77-0.5.19 definitely didn't work on Alpha's.

Although g77-0.5.21 (9/9/97) was designed to solve all these  
problems, the egcs project (see below) already managed to find  
several errors in (patched) backend routines that we - the g77-alpha  
group - didn't find in the 6 months leading up to 0.5.21.

>  The good news is the egcs group, which is working on
>  extending gcc in various ways, incorporates g77 in their
>  standard release. Once egcs is released (it's in alpha
>  test right now), both egcs and egcs's fortran support
>  should end up in the standard Red Hat release.

It really would do good to have a `standard', multi-architecture  
Linux distribution to point at when explaining the workings of g77  
(often "bug" reports that arrive at g77-bug aren't really bugs, but  
things that happen to trigger some behaviour on one architecture,  
but not on others - I'm thinking of the ix86'ism -malign-double for  
DOUBLE PRECISION variables, for instance).

BTW, for those of you who don't know (and are afraid to ask), the  
egcs project home page is at http://www.cygnus.com/egcs.

HTH,

--
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-24 10:36 R J Hill-Cottingham
  0 siblings, 0 replies; 24+ messages in thread
From: R J Hill-Cottingham @ 1997-11-24 10:36 UTC (permalink / raw)


> On Fri, 21 Nov 1997, R J Hill-Cottingham wrote:
> 
> > > 2.7.2.3, and I honestly don't remember which fixes are in there. rth
> > > keeps sending me things, but...
> > 
> > Does it include g77?
> 
> No, because it changes gcc's backend and isn't well tested. People have
> found bugs in gcc which resulted frmo g77, and I'm not going to break
> the widely used C compiler for a seldom-used fortran compiler.

I agree, making g77-0.5.21 + gcc-2.7.2.3 results in broken gcc as well
as a non-working g77, on stock RH4.2.

I was hoping for a fortran compiler that worked, as f2c is broken (as
installed from RH4.2 CD-Rom):

$ cat f2cfail.f
      PROGRAM F2CFAIL
      INTEGER IA(2)
      IA(1)=2
      WRITE(*,*)IA(1)
      STOP
      END
$ f2c f2cfail.f
f2cfail.f:
   MAIN f2cfail:
Compiler error line 6 of f2cfail.f: floating exception during constant evaluation; cannot recover

> The good news is the egcs group, which is working on extending gcc in
> various ways, incorporates g77 in their standard release. Once egcs
> is released (it's in alpha test right now), both egcs and egcs's
> fortran support should end up in the standard Red Hat release.

I have tried making ecgs on my alpha box, but it gets confused over
which libc is installed. I am told I need glibc2, so the good news
that RH5.0 is made with glibc2 is most welcome.

> Erik
> 
> -----------------------------------------------------------------------------
> |     "For the next two hours, VH1 will be filled with foul-mouthed,        |
> |        crossdressing Australians. Viewer discretion is advised."          |
> |                                                                           |
> |     Erik Troan   =   ewt@redhat.com     =    ewt@sunsite.unc.edu          |
> 

Thanks,

Roger Hill-Cottingham       eesrjhc@ee.bath.ac.uk

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
       [not found] <18009.9711241036@ee.bath.ac.uk>
@ 1997-11-24 13:05 ` Roman Martonak
  0 siblings, 0 replies; 24+ messages in thread
From: Roman Martonak @ 1997-11-24 13:05 UTC (permalink / raw)


> 
> I agree, making g77-0.5.21 + gcc-2.7.2.3 results in broken gcc as well
> as a non-working g77, on stock RH4.2.
> 
Why is the resulting gcc broken ? I used it even for compiling the kernel
and everything seems to work. g77 seems to work for some programs, though 
not for all.

> I was hoping for a fortran compiler that worked, as f2c is broken (as
> installed from RH4.2 CD-Rom):
> 
If you just compile f2c from the sources at netlib, it will work.

	Roman Martonak 			    	
	Johannes Gutenberg-Universit"at  	
	Institut f"ur Physik, WA 331           	tel.:   +49 +6131 393323
	D-55099 Mainz	        		fax.:   +49 +6131 395441
	Germany                e-mail: martonak@nero.physik.uni-mainz.de

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-25 10:24 R J Hill-Cottingham
  0 siblings, 0 replies; 24+ messages in thread
From: R J Hill-Cottingham @ 1997-11-25 10:24 UTC (permalink / raw)


> > I agree, making g77-0.5.21 + gcc-2.7.2.3 results in broken gcc as well
> > as a non-working g77, on stock RH4.2.
>
> Why is the resulting gcc broken ? 

I tried making binutils-2.8.1 with it and the resulting ld would only
make programs that rebooted the machine. Maybe it was something else,
but nothing seemed to work after I did this. RPM is a nice tool for
getting back to where one started from :)

> I used it even for compiling the kernel
> and everything seems to work. g77 seems to work for some programs, though 
> not for all.

Certainly not for large programs (say over 1600 subroutines), that
routinely compile fine on ix86.

> > I was hoping for a fortran compiler that worked, as f2c is broken (as
> > installed from RH4.2 CD-Rom):
> > 
> If you just compile f2c from the sources at netlib, it will work.

OK, just done that, and it is fine for little things, but large code
I get millions of

 relocation truncated to fit: LITERAL 

(seems like one for every assignment). Do I have to fix something in
f2c/src before making it (like definitions of integer in f2c.h)?

> 	Roman Martonak 			    	
> 	Johannes Gutenberg-Universit"at  	
> 	Institut f"ur Physik, WA 331           	tel.:   +49 +6131 393323
> 	D-55099 Mainz	        		fax.:   +49 +6131 395441
> 	Germany                e-mail: martonak@nero.physik.uni-mainz.de
> 

Thanks.

Roger Hill-Cottingham       eesrjhc@ee.bath.ac.uk

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-25 11:30 Harvey J. Stein
  0 siblings, 0 replies; 24+ messages in thread
From: Harvey J. Stein @ 1997-11-25 11:30 UTC (permalink / raw)


R J Hill-Cottingham <eesrjhc@ee.bath.ac.uk> writes:

> 
> > > I agree, making g77-0.5.21 + gcc-2.7.2.3 results in broken gcc as well
> > > as a non-working g77, on stock RH4.2.
> >
> > Why is the resulting gcc broken ? 
> 
> I tried making binutils-2.8.1 with it and the resulting ld would only
> make programs that rebooted the machine. Maybe it was something else,
> but nothing seemed to work after I did this. RPM is a nice tool for
> getting back to where one started from :)

What kernel are you running?  If you're using the stock redhat one, it
has broken misalignment trap handling, which could cause misalignments
to crash your machine.  The same holds of
2.0.30+alpha-patches-2.0.30-0.2a.gz.  You should get a 2.0.30 & patch
it according to my kernel patch notes.

-- 
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
       [not found] <m2d8jpp5wq.fsf@blinky.bfr.co.il>
@ 1997-11-25 11:57 ` Hugo van der Kooij
  1997-11-25 13:55 ` Roman Martonak
  1 sibling, 0 replies; 24+ messages in thread
From: Hugo van der Kooij @ 1997-11-25 11:57 UTC (permalink / raw)


On 25 Nov 1997, Harvey J. Stein wrote:

> R J Hill-Cottingham <eesrjhc@ee.bath.ac.uk> writes:
> 
> > 
> > > > I agree, making g77-0.5.21 + gcc-2.7.2.3 results in broken gcc as well
> > > > as a non-working g77, on stock RH4.2.
> > >
> > > Why is the resulting gcc broken ? 
> > 
> > I tried making binutils-2.8.1 with it and the resulting ld would only
> > make programs that rebooted the machine. Maybe it was something else,
> > but nothing seemed to work after I did this. RPM is a nice tool for
> > getting back to where one started from :)
> 
> What kernel are you running?  If you're using the stock redhat one, it
> has broken misalignment trap handling, which could cause misalignments
> to crash your machine.  The same holds of
> 2.0.30+alpha-patches-2.0.30-0.2a.gz.  You should get a 2.0.30 & patch
> it according to my kernel patch notes.

Did you get around to update it to 2.0.32?

Hugo.

	+------------------------+------------------------------+
	| Hugo van der Kooij     | Hugo.van.der.Kooij@caiw.nl   |
	| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
	| 3155 VJ  Maasland      | (De man met de rode hoed)    |
	+------------------------+------------------------------+
			Werkt u al met Linux?
	(U rijdt toch ook niet meer met stepwieltjes aan uw fiets?)

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-25 12:01 Harvey J. Stein
  0 siblings, 0 replies; 24+ messages in thread
From: Harvey J. Stein @ 1997-11-25 12:01 UTC (permalink / raw)


Hugo van der Kooij <hvdkooij@caiw.nl> writes:

> On 25 Nov 1997, Harvey J. Stein wrote:
> > What kernel are you running?  If you're using the stock redhat one, it
> > has broken misalignment trap handling, which could cause misalignments
> > to crash your machine.  The same holds of
> > 2.0.30+alpha-patches-2.0.30-0.2a.gz.  You should get a 2.0.30 & patch
> > it according to my kernel patch notes.
> 
> Did you get around to update it to 2.0.32?

I haven't tried out 2.0.32 yet.  I don't know how well the patches
apply.

-- 
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-25 12:01 R J Hill-Cottingham
  0 siblings, 0 replies; 24+ messages in thread
From: R J Hill-Cottingham @ 1997-11-25 12:01 UTC (permalink / raw)


> R J Hill-Cottingham <eesrjhc@ee.bath.ac.uk> writes:
> 
> > 
> > > > I agree, making g77-0.5.21 + gcc-2.7.2.3 results in broken gcc as well
> > > > as a non-working g77, on stock RH4.2.
> > >
> > > Why is the resulting gcc broken ? 
> > 
> > I tried making binutils-2.8.1 with it and the resulting ld would only
> > make programs that rebooted the machine.
> 
> What kernel are you running?  If you're using the stock redhat one, it
> has broken misalignment trap handling, which could cause misalignments
> to crash your machine.  The same holds of
> 2.0.30+alpha-patches-2.0.30-0.2a.gz.  You should get a 2.0.30 & patch
> it according to my kernel patch notes.

Ah! Things become clearer now. This might also also explain why gdb will
crash the machine when trying to debug a program that generates
Segmentation fault. Thanks, I'll persue this kernel problem.

> -- 
> Harvey J. Stein
> Berger Financial Research
> hjstein@bfr.co.il
> 

-- 

Roger Hill-Cottingham       eesrjhc@ee.bath.ac.uk

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-25 13:49 Uncle George
  0 siblings, 0 replies; 24+ messages in thread
From: Uncle George @ 1997-11-25 13:49 UTC (permalink / raw)


can someone tell me how these enhancements get into the kern? is there a
committe of one somewhere? is there a process .....

Harvey J. Stein wrote:

> Hugo van der Kooij <hvdkooij@caiw.nl> writes:
>
> > On 25 Nov 1997, Harvey J. Stein wrote:
> > > What kernel are you running?  If you're using the stock redhat one, it
> > > has broken misalignment trap handling, which could cause misalignments
> > > to crash your machine.  The same holds of
> > > 2.0.30+alpha-patches-2.0.30-0.2a.gz.  You should get a 2.0.30 & patch
> > > it according to my kernel patch notes.
> >
> > Did you get around to update it to 2.0.32?
>
> I haven't tried out 2.0.32 yet.  I don't know how well the patches
> apply.
>
> --
> Harvey J. Stein
> Berger Financial Research
> hjstein@bfr.co.il
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
       [not found] <m2d8jpp5wq.fsf@blinky.bfr.co.il>
  1997-11-25 11:57 ` Hugo van der Kooij
@ 1997-11-25 13:55 ` Roman Martonak
  1 sibling, 0 replies; 24+ messages in thread
From: Roman Martonak @ 1997-11-25 13:55 UTC (permalink / raw)


> 
> What kernel are you running?  If you're using the stock redhat one, it
> has broken misalignment trap handling, which could cause misalignments
> to crash your machine.  The same holds of
> 2.0.30+alpha-patches-2.0.30-0.2a.gz.  You should get a 2.0.30 & patch
> it according to my kernel patch notes.
> 
> -- 
> Harvey J. Stein
> Berger Financial Research
> hjstein@bfr.co.il
> 
> -- 
I read your kernel patch notes, and found that I am not quite sure about 
my English: to make sure I understand what you mean, I would like to ask 
what precisely is meant by "pristine" and "stock" kernels, respectively ?
Is the "stock redhat one" the precompiled one which is installed during
RH installation or the one which one obtains by compiling the RH kernel
RPM ?
	Thanks,
				
	Roman Martonak 			    	
	Johannes Gutenberg-Universit"at  	
	Institut f"ur Physik, WA 331           	tel.:   +49 +6131 393323
	D-55099 Mainz	        		fax.:   +49 +6131 395441
	Germany                e-mail: martonak@nero.physik.uni-mainz.de

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-25 14:21 Harvey J. Stein
  0 siblings, 0 replies; 24+ messages in thread
From: Harvey J. Stein @ 1997-11-25 14:21 UTC (permalink / raw)


martonak@nero.physik.uni-mainz.de (Roman Martonak) writes:

> > What kernel are you running?  If you're using the stock redhat one, it
> > has broken misalignment trap handling, which could cause misalignments
> > to crash your machine.  The same holds of
> > 2.0.30+alpha-patches-2.0.30-0.2a.gz.  You should get a 2.0.30 & patch
> > it according to my kernel patch notes.
>
> I read your kernel patch notes, and found that I am not quite sure about 
> my English: to make sure I understand what you mean, I would like to ask 
> what precisely is meant by "pristine" and "stock" kernels, respectively ?
> Is the "stock redhat one" the precompiled one which is installed during
> RH installation or the one which one obtains by compiling the RH kernel
> RPM ?

I see that you're refering to the compiled kernel image, whereas I'm
refering to the source tree from which it is built.

The stock redhat kernel is the source tree that comes with Redhat 4.2,
which is a heavily patched version of 2.0.30.  It really shouldn't be
called 2.0.30, except that it has to be called 2.0.30 so that the
modules can load.  The pristine 2.0.30 is the original and
unadulterated 2.0.30 source tree which can be gotten from
ftp://ftp.kernel.org/pub/linux/kernel/v2.0/linux-2.0.30.tar.gz.

-- 
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
       [not found] <347AD767.FEB4A63F@voicenet.com>
@ 1997-11-25 16:29 ` Hugo van der Kooij
  0 siblings, 0 replies; 24+ messages in thread
From: Hugo van der Kooij @ 1997-11-25 16:29 UTC (permalink / raw)


On Tue, 25 Nov 1997, Uncle George wrote:

> can someone tell me how these enhancements get into the kern? is there a
> committe of one somewhere? is there a process .....

Study the kernel sources and you will see who to contact!

Hugo.

	+------------------------+------------------------------+
	| Hugo van der Kooij     | Hugo.van.der.Kooij@caiw.nl   |
	| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
	| 3155 VJ  Maasland      | (De man met de rode hoed)    |
	+------------------------+------------------------------+
			Werkt u al met Linux?
	(U rijdt toch ook niet meer met stepwieltjes aan uw fiets?)

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-25 16:33 M. Nicklaus
  0 siblings, 0 replies; 24+ messages in thread
From: M. Nicklaus @ 1997-11-25 16:33 UTC (permalink / raw)


Roger Hill-Cottingham <eesrjhc@ee.bath.ac.uk> wrote:
> > > I was hoping for a fortran compiler that worked, as f2c is broken (as
> > > installed from RH4.2 CD-Rom):
> > > 
> > If you just compile f2c from the sources at netlib, it will work.
> 
> OK, just done that, and it is fine for little things, but large code
> I get millions of
> 
>  relocation truncated to fit: LITERAL 
> 
> (seems like one for every assignment). Do I have to fix something in
> f2c/src before making it (like definitions of integer in f2c.h)?

This actually seems to be a problem with the linker; or at least it manifests
itself during the linking.  I checked that by doing f2c, gcc, ld manually.
The C code generated by f2c at least *looks* o.k.  I also get many thousands
of these error messages

beckw2.c(.text+0x14f0): relocation truncated to fit: LITERAL j1.20
beckw2.c(.text+0x14f8): relocation truncated to fit: LITERAL j2.21
beckw2.c(.text+0x157c): relocation truncated to fit: LITERAL xfac.53
beckw2.c(.text+0x1598): relocation truncated to fit: LITERAL yfac.54
beckw2.c(.text+0x15b4): relocation truncated to fit: LITERAL zfac.55
[etc.]

They seem to come from local variables only, as far as I can tell
(which are declared static by f2c).

Does this help anyone explain what's the problem here?  And what a
fix, or at least workaround, would be?

Marc

P.S. Versions used:  f2c (version 19970805)
                     gcc version 2.7.2.1
                     ld version 2.7 (with BFD 2.7.0.2)
                     RH 4.2, kernel 2.0.30

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-25 17:07 Harvey J. Stein
  0 siblings, 0 replies; 24+ messages in thread
From: Harvey J. Stein @ 1997-11-25 17:07 UTC (permalink / raw)


"M. Nicklaus" <mn1@helix.nih.gov> writes:

> Roger Hill-Cottingham <eesrjhc@ee.bath.ac.uk> wrote:
> > > > 
> > > If you just compile f2c from the sources at netlib, it will work.
> > 
> > OK, just done that, and it is fine for little things, but large code
> > I get millions of
> > 
> >  relocation truncated to fit: LITERAL 
> > 
> > (seems like one for every assignment). Do I have to fix something in
> > f2c/src before making it (like definitions of integer in f2c.h)?

Well, you don't just download and compile.  You have to also follow
the included directions.  In particular, yes, you have to edit f2c.h
as per the README.

-- 
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-25 19:29 M. Nicklaus
  0 siblings, 0 replies; 24+ messages in thread
From: M. Nicklaus @ 1997-11-25 19:29 UTC (permalink / raw)


Harvey J. Stein <hjstein@blinky.bfr.co.il> writes:

> "M. Nicklaus" <mn1@helix.nih.gov> writes:
> 
> > Roger Hill-Cottingham <eesrjhc@ee.bath.ac.uk> wrote:
> > > > > 
> > > > If you just compile f2c from the sources at netlib, it will work.
> > > 
> > > OK, just done that, and it is fine for little things, but large code
> > > I get millions of
> > > 
> > >  relocation truncated to fit: LITERAL 
> > > 
> > > (seems like one for every assignment). Do I have to fix something in
> > > f2c/src before making it (like definitions of integer in f2c.h)?
> 
> Well, you don't just download and compile.  You have to also follow
> the included directions.  In particular, yes, you have to edit f2c.h
> as per the README.

I've checked the README files that came with f2c (the--hopefully--newest
version from netlib.bell-labs.com).  Although I found a few points which
may, or may not, be related to the above problem, I'm not sure I got the
full picture.  (Linux is only mentioned explicitly once; and axp-linux
never.)

Before I waste a lot of time trying this and that, could you please elaborate?

Thanks a lot in advance.

Marc

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-25 19:41 Harvey J. Stein
  0 siblings, 0 replies; 24+ messages in thread
From: Harvey J. Stein @ 1997-11-25 19:41 UTC (permalink / raw)


"M. Nicklaus" <mn1@helix.nih.gov> writes:

> 
> Harvey J. Stein <hjstein@blinky.bfr.co.il> writes:
> 
> > "M. Nicklaus" <mn1@helix.nih.gov> writes:
> > 
> > > Roger Hill-Cottingham <eesrjhc@ee.bath.ac.uk> wrote:
> > > > > > 
> > > > > If you just compile f2c from the sources at netlib, it will work.
> > > > 
> > > > OK, just done that, and it is fine for little things, but large code
> > > > I get millions of
>
> I've checked the README files that came with f2c (the--hopefully--newest
> version from netlib.bell-labs.com).  Although I found a few points which
> may, or may not, be related to the above problem, I'm not sure I got the
> full picture.  (Linux is only mentioned explicitly once; and axp-linux
> never.)
> 
> Before I waste a lot of time trying this and that, could you please
> elaborate?

You have to delete various "long"s.  There are notes about 64 bit
machines & alphas.

Here it is:

/* f2c.h  --  Standard Fortran to C header file */

/**  barf  [ba:rf]  2.  "He suggested using FORTRAN, and everybody barfed."

	- From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition) */

#ifndef F2C_INCLUDE
#define F2C_INCLUDE

typedef int integer;
typedef unsigned uinteger;
typedef char *address;
typedef short int shortint;
typedef float real;
typedef double doublereal;
typedef struct { real r, i; } complex;
typedef struct { doublereal r, i; } doublecomplex;
typedef int logical;
typedef short int shortlogical;
typedef char logical1;
typedef char integer1;
#ifdef 1	/* Adjust for integer*8. */
typedef long longint;		/* system-dependent */
typedef unsigned long ulongint;	/* system-dependent */
#define qbit_clear(a,b)	((a) & ~((ulongint)1 << (b)))
#define qbit_set(a,b)	((a) |  ((ulongint)1 << (b)))
#endif

#define TRUE_ (1)
#define FALSE_ (0)

/* Extern is for use with -E */
#ifndef Extern
#define Extern extern
#endif

/* I/O stuff */

#ifdef f2c_i2
/* for -i2 */
typedef short flag;
typedef short ftnlen;
typedef short ftnint;
#else
typedef int flag;
typedef int ftnlen;
typedef int ftnint;
#endif

/*external read, write*/
typedef struct
{	flag cierr;
	ftnint ciunit;
	flag ciend;
	char *cifmt;
	ftnint cirec;
} cilist;

/*internal read, write*/
typedef struct
{	flag icierr;
	char *iciunit;
	flag iciend;
	char *icifmt;
	ftnint icirlen;
	ftnint icirnum;
} icilist;

/*open*/
typedef struct
{	flag oerr;
	ftnint ounit;
	char *ofnm;
	ftnlen ofnmlen;
	char *osta;
	char *oacc;
	char *ofm;
	ftnint orl;
	char *oblnk;
} olist;

/*close*/
typedef struct
{	flag cerr;
	ftnint cunit;
	char *csta;
} cllist;

/*rewind, backspace, endfile*/
typedef struct
{	flag aerr;
	ftnint aunit;
} alist;

/* inquire */
typedef struct
{	flag inerr;
	ftnint inunit;
	char *infile;
	ftnlen infilen;
	ftnint	*inex;	/*parameters in standard's order*/
	ftnint	*inopen;
	ftnint	*innum;
	ftnint	*innamed;
	char	*inname;
	ftnlen	innamlen;
	char	*inacc;
	ftnlen	inacclen;
	char	*inseq;
	ftnlen	inseqlen;
	char 	*indir;
	ftnlen	indirlen;
	char	*infmt;
	ftnlen	infmtlen;
	char	*inform;
	ftnint	informlen;
	char	*inunf;
	ftnlen	inunflen;
	ftnint	*inrecl;
	ftnint	*innrec;
	char	*inblank;
	ftnlen	inblanklen;
} inlist;

#define VOID void

union Multitype {	/* for multiple entry points */
	integer1 g;
	shortint h;
	integer i;
	/* longint j; */
	real r;
	doublereal d;
	complex c;
	doublecomplex z;
	};

typedef union Multitype Multitype;

/*typedef long int Long;*/	/* No longer used; formerly in Namelist */

struct Vardesc {	/* for Namelist */
	char *name;
	char *addr;
	ftnlen *dims;
	int  type;
	};
typedef struct Vardesc Vardesc;

struct Namelist {
	char *name;
	Vardesc **vars;
	int nvars;
	};
typedef struct Namelist Namelist;

#define abs(x) ((x) >= 0 ? (x) : -(x))
#define dabs(x) (doublereal)abs(x)
#define min(a,b) ((a) <= (b) ? (a) : (b))
#define max(a,b) ((a) >= (b) ? (a) : (b))
#define dmin(a,b) (doublereal)min(a,b)
#define dmax(a,b) (doublereal)max(a,b)
#define bit_test(a,b)	((a) >> (b) & 1)
#define bit_clear(a,b)	((a) & ~((uinteger)1 << (b)))
#define bit_set(a,b)	((a) |  ((uinteger)1 << (b)))

/* procedure parameter types for -A and -C++ */

#define F2C_proc_par_types 1
#ifdef __cplusplus
typedef int /* Unknown procedure type */ (*U_fp)(...);
typedef shortint (*J_fp)(...);
typedef integer (*I_fp)(...);
typedef real (*R_fp)(...);
typedef doublereal (*D_fp)(...), (*E_fp)(...);
typedef /* Complex */ VOID (*C_fp)(...);
typedef /* Double Complex */ VOID (*Z_fp)(...);
typedef logical (*L_fp)(...);
typedef shortlogical (*K_fp)(...);
typedef /* Character */ VOID (*H_fp)(...);
typedef /* Subroutine */ int (*S_fp)(...);
#else
typedef int /* Unknown procedure type */ (*U_fp)();
typedef shortint (*J_fp)();
typedef integer (*I_fp)();
typedef real (*R_fp)();
typedef doublereal (*D_fp)(), (*E_fp)();
typedef /* Complex */ VOID (*C_fp)();
typedef /* Double Complex */ VOID (*Z_fp)();
typedef logical (*L_fp)();
typedef shortlogical (*K_fp)();
typedef /* Character */ VOID (*H_fp)();
typedef /* Subroutine */ int (*S_fp)();
#endif
/* E_fp is for real functions when -R is not specified */
typedef VOID C_f;	/* complex function */
typedef VOID H_f;	/* character function */
typedef VOID Z_f;	/* double complex function */
typedef doublereal E_f;	/* real function with -R not specified */

/* undef any lower-case symbols that your C compiler predefines, e.g.: */

#ifndef Skip_f2c_Undefs
#undef cray
#undef gcos
#undef mc68010
#undef mc68020
#undef mips
#undef pdp11
#undef sgi
#undef sparc
#undef sun
#undef sun2
#undef sun3
#undef sun4
#undef u370
#undef u3b
#undef u3b2
#undef u3b5
#undef unix
#undef vax
#endif
#endif

-- 
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-26 10:46 R J Hill-Cottingham
  1997-11-26 10:48 ` 64 bits David Cabrero Souto
  0 siblings, 1 reply; 24+ messages in thread
From: R J Hill-Cottingham @ 1997-11-26 10:46 UTC (permalink / raw)


Harvey J. Stein <hjstein@bfr.co.il> writes:

> "M. Nicklaus" <mn1@helix.nih.gov> writes:
> 
> > Roger Hill-Cottingham <eesrjhc@ee.bath.ac.uk> wrote:
> > > > > 
> > > > If you just compile f2c from the sources at netlib, it will work.
> > > 
> > > OK, just done that, and it is fine for little things, but large code
> > > I get millions of
> > > 
> > >  relocation truncated to fit: LITERAL 
> > > 
> > > (seems like one for every assignment). Do I have to fix something in
> > > f2c/src before making it (like definitions of integer in f2c.h)?
> 
> Well, you don't just download and compile.  You have to also follow
> the included directions.  In particular, yes, you have to edit f2c.h
> as per the README.

I looked again and found the instructions, not in
netlib/f2c/src/README, but in netlib/f2c/readme. Thanks for the
pointer. I also remade libF77 and libI77, but still get millions of
'relocation truncated to fit: LITERAL' during the link phase. I think
I will give up at this point and wait for RH5.0 on 1st. December. 

Thanks for your help,

-- 

Roger Hill-Cottingham       eesrjhc@ee.bath.ac.uk

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* 64 bits
  1997-11-26 10:46 Redhat 5.0 - The *real* questions R J Hill-Cottingham
@ 1997-11-26 10:48 ` David Cabrero Souto
  0 siblings, 0 replies; 24+ messages in thread
From: David Cabrero Souto @ 1997-11-26 10:48 UTC (permalink / raw)


Is there any FAQ, doc, ... on how to write 64 bits clean code ?
TIA

David
-----

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

* Re: Redhat 5.0 - The *real* questions.
@ 1997-11-26 11:05 Harvey J. Stein
  0 siblings, 0 replies; 24+ messages in thread
From: Harvey J. Stein @ 1997-11-26 11:05 UTC (permalink / raw)


R J Hill-Cottingham <eesrjhc@ee.bath.ac.uk> writes:

> Harvey J. Stein <hjstein@bfr.co.il> writes:
> 
> > "M. Nicklaus" <mn1@helix.nih.gov> writes:
> > 
> > > Roger Hill-Cottingham <eesrjhc@ee.bath.ac.uk> wrote:
> > > > > > 
> > > > > If you just compile f2c from the sources at netlib, it will work.
> > > > 
> > > > OK, just done that, and it is fine for little things, but large code
> > > > I get millions of
> > > > 
> > > >  relocation truncated to fit: LITERAL 
> > > > 
> > > > (seems like one for every assignment). Do I have to fix something in
> > > > f2c/src before making it (like definitions of integer in f2c.h)?
> > 
> > Well, you don't just download and compile.  You have to also follow
> > the included directions.  In particular, yes, you have to edit f2c.h
> > as per the README.
> 
> I looked again and found the instructions, not in
> netlib/f2c/src/README, but in netlib/f2c/readme. Thanks for the
> pointer. I also remade libF77 and libI77, but still get millions of
> 'relocation truncated to fit: LITERAL' during the link phase. I think
> I will give up at this point and wait for RH5.0 on 1st. December. 

Don't make libF77 & libI77.  Use libf2c.zip & just make libf2c.a &
libf2c.so.  Did you use:

  CFLAGS = -O2 -DNON_UNIX_STDIO -DIEEE_drem -DWANT_LEAD_0 -DAllow_TYQUAD

Only the -DNON_UNIX_STDIO is necessary.  The -DIEEE_drem might help
efficiency sometimes, and the last two are purely options.

You're doing this under RH4.2?

You might try getting the RH5.0 source rpm for f2c, and building from
that.  It includes a newer version of f2c.  You won't be able to
install the RH5.0 binary package (since it's compiled against very
different libraries), but you should be able to build the source rpm
(assuming that RPM hasn't changed too much).

I can also email you f2c.h, f2c.1, f2c & libf2c.a, if you'd like.

-- 
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

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

end of thread, other threads:[~1997-11-26 11:05 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-26 10:46 Redhat 5.0 - The *real* questions R J Hill-Cottingham
1997-11-26 10:48 ` 64 bits David Cabrero Souto
  -- strict thread matches above, loose matches on Subject: below --
1997-11-26 11:05 Redhat 5.0 - The *real* questions Harvey J. Stein
1997-11-25 19:41 Harvey J. Stein
1997-11-25 19:29 M. Nicklaus
1997-11-25 17:07 Harvey J. Stein
1997-11-25 16:33 M. Nicklaus
     [not found] <347AD767.FEB4A63F@voicenet.com>
1997-11-25 16:29 ` Hugo van der Kooij
1997-11-25 14:21 Harvey J. Stein
1997-11-25 13:49 Uncle George
1997-11-25 12:01 R J Hill-Cottingham
1997-11-25 12:01 Harvey J. Stein
     [not found] <m2d8jpp5wq.fsf@blinky.bfr.co.il>
1997-11-25 11:57 ` Hugo van der Kooij
1997-11-25 13:55 ` Roman Martonak
1997-11-25 11:30 Harvey J. Stein
1997-11-25 10:24 R J Hill-Cottingham
     [not found] <18009.9711241036@ee.bath.ac.uk>
1997-11-24 13:05 ` Roman Martonak
1997-11-24 10:36 R J Hill-Cottingham
1997-11-21 14:52 Toon Moene
     [not found] <12915.9711210950@ee.bath.ac.uk>
1997-11-21 13:50 ` Erik Troan
1997-11-21  9:50 R J Hill-Cottingham
1997-11-21  9:17 Stefan Schroepfer
     [not found] <m24t57bkhv.fsf@blinky.bfr.co.il>
1997-11-20 17:11 ` Erik Troan
1997-11-20 16:25 Harvey J. Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox