[FS#504] SDK broken with Ubuntu 17.04 and GCC 6.3 (solution included)

LEDE Bugs lede-bugs at lists.infradead.org
Sun Feb 12 09:55:14 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Roger (roger-) 

Attached to Project - LEDE Project
Summary - SDK broken with Ubuntu 17.04 and GCC 6.3 (solution included)
Task Type - Bug Report
Category - Toolchain
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Using the latest lede-sdk-ramips-mt7620_gcc-5.4.0_musl.Linux-x86_64 snapshot, running make menuconfig gives me this error:

[code]/usr/bin/ld: zconf.tab.o: relocation R_X86_64_32S against symbol `symbol_yes' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status[/code]

Fix is to run "make clean" in scripts/config first. 

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=504



More information about the lede-bugs mailing list