-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
I'm trying to build and package openiboot for the postmarketOS project to get the ipod touch 1g running. The postmarketOS project as a whole crosscompile setup integrated already and I'm trying to use that instead of adding more toolchains to the mix but I'm running into some build errors.
I've added a bunch of patches already to make the compile stage work with the current environment which is a GCC6 toolchain (see https://github.com/postmarketOS/pmbootstrap/tree/device/ipod1/aports/main/openiboot) but now I'm running into linking errors:
/usr/lib/gcc/armv6-alpine-linux-muslgnueabihf/6.4.0/../../../../armv6-alpine-linux-muslgnueabihf/bin/ld: section .interp LMA [0000000000000174,000000000000018b] overlaps section .text LMA [0000000000000000,0000000000038fa7]
/usr/lib/gcc/armv6-alpine-linux-muslgnueabihf/6.4.0/../../../../armv6-alpine-linux-muslgnueabihf/bin/ld: ipt_1g_openiboot: Not enough room for program headers, try linking with -N
/usr/lib/gcc/armv6-alpine-linux-muslgnueabihf/6.4.0/../../../../armv6-alpine-linux-muslgnueabihf/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Do any of you here know how this error or how to start debugging this?
valpackett
Metadata
Metadata
Assignees
Labels
No labels