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

--- Comment #4 from Sam James <sam at gentoo dot org> ---
The original is from building GNAT where -fno-PIE is passed (by the build
system) where glibc is built with -mno-direct-extern-access.
```
/usr/lib/gcc/x86_64-pc-linux-gnu/16/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/gcc/x86_64-pc-linux-gnu/14/adalib/libgnat.a(env.o): warning:
relocation against `__environ@@GLIBC_2.2.5' in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/16/../../../../x86_64-pc-linux-gnu/bin/ld:
read-only segment has dynamic relocations
```

I will get a testcase for the real problem.

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

Reply via email to