Bug 23491 - Building for nios2 fails with binutils 2.26
Summary: Building for nios2 fails with binutils 2.26
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.29
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-07 12:57 UTC by Florian Weimer
Modified: 2019-02-11 11:48 UTC (History)
1 user (show)

See Also:
Host:
Target: nios2
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.