https://sourceware.org/bugzilla/show_bug.cgi?id=30187

--- Comment #6 from Tom Kacvinsky <tkacvins at gmail dot com> ---
I found an issue with the patch.  I applied against master and built it.  I
then used gcc 12.1.0 and got this:

$ /opt/gcc-12.1.0/bin/gcc -B /opt/binutils-2.40-version/bin -fuse-ld=bfd -o
wchar wchar.c

/opt/binutils-2.40-version/bin/ld.bfd: wchar: error: PHDR segment not covered
by LOAD segment

If I dump the default linker script and remove the linker version comment
option, and use the resulting file as the link scriot:

$ /opt/gcc-12.1.0/bin/gcc -B /opt/binutils-2.40-version/bin -fuse-ld=bfd
-Wl,--script=noversion.script -o wchar wchar.c

this problem goes away.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to