Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] 64-bit compiler millicode update
@ 2001-03-02  0:33 ` Paul Bame
  2001-03-02  1:26   ` New XC available was " Matt Taggart
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Bame @ 2001-03-02  0:33 UTC (permalink / raw)
  To: parisc-linux

This affects people building 64-bit kernels after willy's (not yet
available) changes, whereupon the $$mulI millicode routine becomes
needed.

New cross compilers will soon be available, but if you just want to
get the millicode change and no others, replace your 64-bit libgcc.a
with [ftp|http]://puffin.external.hp.com/pub/parisc/binaries/libgcc.a.gz

	-P

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

* New XC available was Re: [parisc-linux] 64-bit compiler millicode update
  2001-03-02  0:33 ` [parisc-linux] 64-bit compiler millicode update Paul Bame
@ 2001-03-02  1:26   ` Matt Taggart
  2001-03-02 19:48     ` [parisc-linux] C100 Self-Hosting Greg Ingram
  2001-03-02 20:10     ` New XC available was Re: [parisc-linux] 64-bit compiler millicode update Matthew Wilcox
  0 siblings, 2 replies; 6+ messages in thread
From: Matt Taggart @ 2001-03-02  1:26 UTC (permalink / raw)
  To: parisc-linux

Paul Bame writes...

> 
> This affects people building 64-bit kernels after willy's (not yet
> available) changes, whereupon the $$mulI millicode routine becomes
> needed.
> 
> New cross compilers will soon be available, but if you just want to
> get the millicode change and no others, replace your 64-bit libgcc.a
> with [ftp|http]://puffin.external.hp.com/pub/parisc/binaries/libgcc.a.gz

The full xc with this change and also the recent glibc changes is now 
available at,

ftp://puffin.external.hp.com/pub/parisc/binaries/LinuxX86/xc-20010301.tar.gz

-- 
Matt Taggart        Linux Development Lab
taggart@fc.hp.com   HP Linux Systems Operation

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

* [parisc-linux] C100 Self-Hosting
  2001-03-02  1:26   ` New XC available was " Matt Taggart
@ 2001-03-02 19:48     ` Greg Ingram
  2001-03-04 11:15       ` Alan Modra
  2001-03-02 20:10     ` New XC available was Re: [parisc-linux] 64-bit compiler millicode update Matthew Wilcox
  1 sibling, 1 reply; 6+ messages in thread
From: Greg Ingram @ 2001-03-02 19:48 UTC (permalink / raw)
  To: parisc-linux

I tried to self-host on my C100 with the recent root filesystem from
ISIEE.  The first problem was I needed the CVS bins.  I grabbed the
sources from Debian and the build went without a hitch.  I've posted a
tarball of (I hope) all of the relevant bits here:

	http://www.symsys.com/~ingram/linux/parisc/cvs.tar.gz

I checked out the linux and palo sources, configured the kernel and made
dependancies.  I ran into the following problems with 'make palo':

1)  arch/parisc/Makefile specifies the cross-compiler

I guess most people are using the cross-compiler so maybe it should stay
that way for now.  Anyway, once I commented out that line the kernel build
took off.

2)  conflicting types for mem{cmp|cpy|set} built-ins 

Lots and lots of warnings.  Should I add -fno-builtin?

3)  conflicting types for off_t in <stdio.h> and "linux/types.h"

I was able to dodge this error by defining '__off_t_defined' right before
including <stdio.h> in palo/lib/elf32.c.

And now [ drumroll ] the build succeeds and the self-built kernel boots.  

Woohoo!

- Greg

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

* Re: New XC available was Re: [parisc-linux] 64-bit compiler millicode update
  2001-03-02  1:26   ` New XC available was " Matt Taggart
  2001-03-02 19:48     ` [parisc-linux] C100 Self-Hosting Greg Ingram
@ 2001-03-02 20:10     ` Matthew Wilcox
  2001-03-06  0:41       ` Matt Taggart
  1 sibling, 1 reply; 6+ messages in thread
From: Matthew Wilcox @ 2001-03-02 20:10 UTC (permalink / raw)
  To: Matt Taggart; +Cc: parisc-linux

On Thu, Mar 01, 2001 at 06:26:31PM -0700, Matt Taggart wrote:
> The full xc with this change and also the recent glibc changes is now 
> available at,
> 
> ftp://puffin.external.hp.com/pub/parisc/binaries/LinuxX86/xc-20010301.tar.gz

There's something wrong with the compiler:

/opt/palinux/lib/gcc-lib/hppa-linux/2.97/tradcpp0: /lib/libc.so.6:
	version `GLIBC_2.2' not found (required by
	/opt/palinux/lib/gcc-lib/hppa-linux/2.97/tradcpp0)

we're trying to track it down.  in the meantime, use your current toolchain
and the libgcc.a from /opt/palinux/lib/gcc-lib/hppa64-linux/2.97/

-- 
Revolutions do not require corporate support.

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

* Re: [parisc-linux] C100 Self-Hosting
  2001-03-02 19:48     ` [parisc-linux] C100 Self-Hosting Greg Ingram
@ 2001-03-04 11:15       ` Alan Modra
  0 siblings, 0 replies; 6+ messages in thread
From: Alan Modra @ 2001-03-04 11:15 UTC (permalink / raw)
  To: Greg Ingram; +Cc: parisc-linux

On Fri, 2 Mar 2001, Greg Ingram wrote:

> 2)  conflicting types for mem{cmp|cpy|set} built-ins 
> 
> Lots and lots of warnings.  Should I add -fno-builtin?

No.  I haven't heard any complaints about my proposed change to fix the
warnings, so I'm going to commit it.

Alan Modra

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

* Re: New XC available was Re: [parisc-linux] 64-bit compiler millicode update
  2001-03-02 20:10     ` New XC available was Re: [parisc-linux] 64-bit compiler millicode update Matthew Wilcox
@ 2001-03-06  0:41       ` Matt Taggart
  0 siblings, 0 replies; 6+ messages in thread
From: Matt Taggart @ 2001-03-06  0:41 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: parisc-linux

Matthew Wilcox writes...

> On Thu, Mar 01, 2001 at 06:26:31PM -0700, Matt Taggart wrote:
> > The full xc with this change and also the recent glibc changes is now 
> > available at,
> > 
> > ftp://puffin.external.hp.com/pub/parisc/binaries/LinuxX86/xc-20010301.tar.g
> z
> 
> There's something wrong with the compiler:
> 
> /opt/palinux/lib/gcc-lib/hppa-linux/2.97/tradcpp0: /lib/libc.so.6:
> 	version `GLIBC_2.2' not found (required by
> 	/opt/palinux/lib/gcc-lib/hppa-linux/2.97/tradcpp0)
> 
> we're trying to track it down.  in the meantime, use your current toolchain
> and the libgcc.a from /opt/palinux/lib/gcc-lib/hppa64-linux/2.97/

OK, the problem was that I built the xc on a system running Debian unstable 
which has glibc 2.2.2. So the xc didn't work on systems with an older glibc. 
I'd always gotten away with it up until now. So from now on I will build all 
xc's on a system no newer than the Debian stable release (currently potato, 
glibc 2.1.3).

I have placed a new xc at,

ftp://puffin.external.hp.com/pub/parisc/binaries/LinuxX86/xc-20010305.tar.gz

This xc includes Alan Modra's recent merge to upstream 20010204.

-- 
Matt Taggart        Linux Development Lab
taggart@fc.hp.com   HP Linux Systems Operation

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

end of thread, other threads:[~2001-03-06  0:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bame@fc.hp.com>
2001-03-02  0:33 ` [parisc-linux] 64-bit compiler millicode update Paul Bame
2001-03-02  1:26   ` New XC available was " Matt Taggart
2001-03-02 19:48     ` [parisc-linux] C100 Self-Hosting Greg Ingram
2001-03-04 11:15       ` Alan Modra
2001-03-02 20:10     ` New XC available was Re: [parisc-linux] 64-bit compiler millicode update Matthew Wilcox
2001-03-06  0:41       ` Matt Taggart

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