Skip to contentSkip to conversation

firefly-rk3288 link failure

U-Boot Andreas Färber 2 participants 5 messages Apr 9, 2017

lore
Share & tools
lore
#0 lore raw

Hello,

In v2017.03 the firefly-rk3288 target fails to link with our gcc 6.3.1. I've tried gcc 7.0.1 (CC=gcc-7), but no change.

[ 99s] LD u-boot
[ 99s] ld.bfd: u-boot: Not enough room for program headers, try
linking with -N
[ 99s] ld.bfd: final link failed: Bad value
[ 99s] make: *** [Makefile:1206: u-boot] Error 1

This is a regression from v2017.01.

Is there a known fix or workaround?

Thanks,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
#1 lore raw

Am 09.04.2017 um 15:21 schrieb Andreas Färber:

Quoted 10 lines

Hello,

In v2017.03 the firefly-rk3288 target fails to link with our gcc 6.3.1. I've tried gcc 7.0.1 (CC=gcc-7), but no change.

[ 99s] LD u-boot
[ 99s] ld.bfd: u-boot: Not enough room for program headers, try
linking with -N
[ 99s] ld.bfd: final link failed: Bad value
[ 99s] make: *** [Makefile:1206: u-boot] Error 1

Just checked: Same issue with tinker-rk3288.

Quoted 4 lines

Is there a known fix or workaround?

Thanks,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
#2 lore raw
Quoted 6 lines · Andreas Färber

Am 09.04.2017 um 15:21 schrieb Andreas Färber:

Quoted 5 lines

Hello,

In v2017.03 the firefly-rk3288 target fails to link with our gcc 6.3.1. I've tried gcc 7.0.1 (CC=gcc-7), but no change.

Quoted 9 lines
Quoted 5 lines

[ 99s] LD u-boot
[ 99s] ld.bfd: u-boot: Not enough room for program headers, try
linking with -N
[ 99s] ld.bfd: final link failed: Bad value
[ 99s] make: *** [Makefile:1206: u-boot] Error 1

Just checked: Same issue with tinker-rk3288.

Quoted 1 line

Is there a known fix or workaround?

Yes, we need someone to do the equivalent of
https://patchwork.ozlabs.org/patch/699815/ for U-Boot (which is easier since we can rely on ld-version). I'm pretty sure when we talked about this last, no one followed up with a patch. But maybe I'm just forgetting?

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170409/94604769/attachment.sig>
#3 lore raw
Quoted 15 lines · Tom Rini
Quoted 14 lines · Andreas Färber

Am 09.04.2017 um 15:21 schrieb Andreas Färber:

Quoted 10 lines

Hello,

In v2017.03 the firefly-rk3288 target fails to link with our gcc 6.3.1. I've tried gcc 7.0.1 (CC=gcc-7), but no change.

[ 99s] LD u-boot
[ 99s] ld.bfd: u-boot: Not enough room for program headers, try
linking with -N
[ 99s] ld.bfd: final link failed: Bad value
[ 99s] make: *** [Makefile:1206: u-boot] Error 1

Just checked: Same issue with tinker-rk3288.

Quoted 7 lines
Quoted 1 line
Quoted 1 line

Is there a known fix or workaround?

Yes, we need someone to do the equivalent of
https://patchwork.ozlabs.org/patch/699815/ for U-Boot (which is easier since we can rely on ld-version). I'm pretty sure when we talked about this last, no one followed up with a patch. But maybe I'm just forgetting?

Yes, I am forgetting. We have
https://patchwork.ozlabs.org/patch/706336/ where I asked for some changes and no v3 happened.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170409/bd2a7f96/attachment.sig>
#4 lore raw

Am 09.04.2017 um 20:04 schrieb Tom Rini:

Quoted 24 lines · Tom Rini
Quoted 15 lines · Andreas Färber
Quoted 14 lines

Am 09.04.2017 um 15:21 schrieb Andreas Färber:

Quoted 10 lines

Hello,

In v2017.03 the firefly-rk3288 target fails to link with our gcc 6.3.1. I've tried gcc 7.0.1 (CC=gcc-7), but no change.

[ 99s] LD u-boot
[ 99s] ld.bfd: u-boot: Not enough room for program headers, try
linking with -N
[ 99s] ld.bfd: final link failed: Bad value
[ 99s] make: *** [Makefile:1206: u-boot] Error 1

Just checked: Same issue with tinker-rk3288.

Quoted 7 lines
Quoted 1 line
Quoted 1 line

Is there a known fix or workaround?

Yes, we need someone to do the equivalent of
https://patchwork.ozlabs.org/patch/699815/ for U-Boot (which is easier since we can rely on ld-version). I'm pretty sure when we talked about this last, no one followed up with a patch. But maybe I'm just forgetting?

Quoted 3 lines

Yes, I am forgetting. We have
https://patchwork.ozlabs.org/patch/706336/ where I asked for some changes and no v3 happened.

I've tested it on v2017.03 with the addition you requested, and sent a v3. I took the liberty to fix the grammar in one sentence, otherwise unchanged.

Thanks,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)