Skip to contentSkip to conversation

i386 cross-compiler for hppa/hppa64 ?

parisc-linux Helge Deller 4 participants 6 messages Sep 15, 2004 – Sep 17, 2004

lore
Share & tools
lore
#0 lore raw

Hi all,

running today into the following compile problem with current PARISC CVS HEAD with my old gcc 3.0.2 i386/hppa crosscompiler:
....
CC arch/parisc/kernel/unaligned.o
{standard input}: Assembler messages:
{standard input}:158: Error: operation combines symbols in different segments
make[1]: *** [arch/parisc/kernel/unaligned.o] Error 1

i started looking for a newer gcc cross-compiler to download.

The cross-compiler section on the parisc homepage at http://parisc-linux.org/software/index.html#xcs links to
http://ftp.parisc-linux.org/x86-xcompilers/ and
ESIEE Team's download page at http://www.pateam.org/download.html#deb

Both links sadly only contain really old crosscompilers.
Maybe someone is looking for an interesting job and could provide new cross compilers either as .deb or rpm packages and update the website ?

Thanks,
Helge
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#1 lore raw
Quoted 6 lines · Helge Deller

running today into the following compile problem with current PARISC CVS HEAD with my old gcc 3.0.2 i386/hppa crosscompiler:
....
CC arch/parisc/kernel/unaligned.o
{standard input}: Assembler messages:
{standard input}:158: Error: operation combines symbols in different segments
make[1]: *** [arch/parisc/kernel/unaligned.o] Error 1

this is the problematic code btw (in case it helps somebody):
....
.section .text.emulate_ldd,"ax",@progbits
.align 4
.type emulate_ldd,@function
emulate_ldd:

        .PROC
        .CALLINFO FRAME=64,NO_CALLS,ENTRY_GR=4
        .ENTRY
        stwm %r5,64(%r30)

.....
.section .fixup,"ax"
......

.Lfe3:

        .size   emulate_ldd,.Lfe3-emulate_ldd		<<<<<<<<<<<<<<<<<< LINE 158 !! <<<<<<<<<<<<<<
        .section        .text.emulate_sth,"ax",@progbits
        .align 4
                .type            emulate_sth,@function
emulate_sth:
        .PROC
        .CALLINFO FRAME=0,NO_CALLS
        .ENTRY
        copy %r26,%r19

.....
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#2 lore raw
In reply to Helge Deller
Quoted 3 lines

The cross-compiler section on the parisc homepage at http://parisc-linux.org/software/index.html#xcs links to
http://ftp.parisc-linux.org/x86-xcompilers/ and
ESIEE Team's download page at http://www.pateam.org/download.html#deb

If you have time...
http://www.parisc-linux.org/toolchain/PARISC-Linux-XC-HOWTO.html

I recommend Dan Kegel's crosstools and build one using his infrastructure please :) His tools autobuild everything and it will take only time to compile the tree. I haven't done this myself because I don't need an x86->hppa but I might set crosstools to run today on my dual cpu box at the office.

c.

#3 lore raw
Quoted 8 lines · Carlos O'Donell

If you have time...
http://www.parisc-linux.org/toolchain/PARISC-Linux-XC-HOWTO.html

I recommend Dan Kegel's crosstools and build one using his infrastructure please :) His tools autobuild everything and it will take only time to compile the tree. I haven't done this myself because I don't need an x86->hppa but I might set crosstools to run today on my dual cpu box at the office.

Debian doesn't have many cross compilers -- is there a reason for this? Given the emphasis Debian has on portability, I'm suprised that packages for x86->* (at the very least) aren't available...

Signature · 5 lines
Stuart Brady
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
#4 lore raw
Quoted 12 lines · Stuart Brady
Quoted 8 lines · Carlos O'Donell

If you have time...
http://www.parisc-linux.org/toolchain/PARISC-Linux-XC-HOWTO.html

I recommend Dan Kegel's crosstools and build one using his infrastructure please :) His tools autobuild everything and it will take only time to compile the tree. I haven't done this myself because I don't need an x86->hppa but I might set crosstools to run today on my dual cpu box at the office.

Quoted 3 lines

Debian doesn't have many cross compilers -- is there a reason for this? Given the emphasis Debian has on portability, I'm suprised that packages for x86->* (at the very least) aren't available...

Good idea but why only x86->* :) , though?

Joel

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#5 lore raw
In reply to Carlos O'Donell

Hi all,

Quoted 6 lines · Carlos O'Donell
Quoted 3 lines

The cross-compiler section on the parisc homepage at http://parisc-linux.org/software/index.html#xcs links to
http://ftp.parisc-linux.org/x86-xcompilers/ and
ESIEE Team's download page at http://www.pateam.org/download.html#deb

If you have time...
http://www.parisc-linux.org/toolchain/PARISC-Linux-XC-HOWTO.html

Even without the above URL I was able to build myself a x86-hppa crosscompiler :-)

It's available here for download now (~26MB):
ftp://ftp.parisc-linux.org/x86-xcompilers/xc-20040917-hppa32.tgz

Some notes:
- x86 -> hppa (32bit only!)
- based on DEBIAN's hppa binutils and gcc3.3 packages (look at the README in the archive)
- only for cross-compiling Linux kernels
- unpack in /opt and add /opt/palinux33/bin to your $PATH

Helge
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux