[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-hppa
Subject:    Re: problems build mkboot
From:       Michael Shalayeff <mickey () lucifier ! net>
Date:       2001-09-24 2:16:15
[Download RAW message or body]

Making, drinking tea and reading an opus magnum from Joerg Anton:
> hello,
> 
> when I build a kernel for hppa then I got the following errors on building
> the mkboot program.
> 
> ---snip---
> pc# make MACHINE=hppa MACHINE_ARCH=hppa \
>         "AS=$cross/as" "CC=$cross/cc" \
>         "CPP=$cross/cpp" "LD=$cross/ld" \
>         "AR=$cross/ar" "STRIP=$cross/strip" \
>         "LORDER=$cross/lorder" "NM=$cross/nm" \
>         "RANLIB=$cross/ranlib" "SIZE=$cross/size"
> ===> libsa
> ===> libkern
> ===> libz
> ===> mkboot
> /usr/cross/hppa/usr/bin/cc  -O2 -g -Wall -Werror   -I -I.
> -I/sys/arch/hppa/stand
> /mkboot -c /sys/arch/hppa/stand/mkboot/mkboot.c
> /usr/cross/hppa/usr/bin/cc  -static -o mkboot mkboot.o 
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: Warning: type of
> symbol `$$d
> ivI' changed from 13 to 2 in _divI.o
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: Warning: type of
> symbol `$$d
> ivU' changed from 13 to 2 in _divU.o
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: Warning: type of
> symbol `$$r
> emU' changed from 13 to 2 in _remU.o
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.1 [00
> 003070 -> 000030cf] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.2 [00
> 0030d0 -> 000030df] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.3 [00
> 0030e0 -> 000030ef] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.4 [00
> 0030f0 -> 000030ff] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.5 [00
> 003100 -> 0000310f] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.6 [00
> 003110 -> 0000311f] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.7 [00
> 003120 -> 0000312f] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.8 [00
> 003130 -> 0000314f] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.9 [00
> 003150 -> 0000316f] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.10 [0
> 0003170 -> 0000317f] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.11 [0
> 0003180 -> 0000318f] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.12 [0
> 
> 
> 0003cc0 -> 00003ccf] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.94 [0
> 0003cd0 -> 00003cdf] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.95 [0
> 0003ce0 -> 00003cef] overlaps section .text [00002000 -> 00004197]
> /usr/cross/hppa/usr/hppa-unknown-openbsd2.9/bin/ld: section
> .PARISC.unwind.96 [0
> 0003cf0 -> 00003cff] overlaps section .text [00002000 -> 00004197]
> collect2: ld returned 1 exit status
> *** Error code 1
> 
> Stop in /sys/arch/hppa/stand/mkboot (line 97 of
> /usr/share/mk/bsd.prog.mk).
> *** Error code 1
> 
> Stop in /sys/arch/hppa/stand.
> 
> --------------------------
> 
> is this an errror in the linker script or in /usr/share/mk/bsd.prog.mk or
> need I a new ld.
> I use OpenBSD 2.9 and the cross toolchain from cross.hppa.tgz .

no, mkboot is supposed to be built on the native arch.
i wonder why it is not, while it does for me (;

cu

-- 
    paranoic mickey       (my employers have changed but, the name has remained)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic