64-bit compiler millicode update
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
New XC available was Re: [parisc-linux] 64-bit compiler millicode update
In reply to a message not in the archivePaul Bame writes...
Quoted 8 lines
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
Signature · 2 lines
Matt Taggart Linux Development Lab [email protected] HP Linux Systems Operation
[parisc-linux] C100 Self-Hosting
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
Re: New XC available was Re: [parisc-linux] 64-bit compiler millicode update
In reply to Matt TaggartQuoted 4 lines · Matt Taggart
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/
Signature · 1 line
Revolutions do not require corporate support.
Re: [parisc-linux] C100 Self-Hosting
In reply to Greg IngramQuoted 3 lines · Greg Ingram
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
Re: New XC available was Re: [parisc-linux] 64-bit compiler millicode update
In reply to Matthew WilcoxMatthew Wilcox writes...
Quoted 7 lines · Matt Taggart
Quoted 4 lines
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
Quoted 8 lines
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.
Signature · 2 lines
Matt Taggart Linux Development Lab [email protected] HP Linux Systems Operation