Bug 23491

Summary: Building for nios2 fails with binutils 2.26
Product: glibc Reporter: Florian Weimer <fweimer>
Component: libcAssignee: Not yet assigned to anyone <unassigned>
Status: NEW ---    
Severity: normal CC: drepper.fsp
Priority: P2 Flags: fweimer: security-
Version: 2.29   
Target Milestone: ---   
Host: Target: nios2
Build: Last reconfirmed:

Description Florian Weimer 2018-08-07 12:57:53 UTC
The error message is:

/home/bmg/build/compilers/nios2-linux-gnu/glibc/nios2-linux-gnu/locale/localedef.o: In function `parse_opt':
/home/bmg/build/compilers/nios2-linux-gnu/glibc-src/nios2-linux-gnu/locale/programs/localedef.c:373: warning: Unable to reach (null) (at 0x00040486) from the global pointer (at 0x00007ff0) because the offset (230550) is out of the allowed range, -32678 to 32767.

/home/bmg/install/compilers/nios2-linux-gnu/lib/gcc/nios2-glibc-linux-gnu/8.2.1/../../../../nios2-glibc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output

I will try building with 2.27, to see if the issue has been fixed.
Comment 1 Florian Weimer 2018-08-08 12:39:47 UTC
I don't see a linker error with binutils 2.27.