[PATCH] Hurd: Add rtld-strncpy-c.c

2021-01-18 Thread H.J. Lu
On Mon, Jan 18, 2021 at 4:40 PM H.J. Lu wrote: > > On Mon, Jan 18, 2021 at 4:24 PM Samuel Thibault > wrote: > > > > Samuel Thibault, le mar. 19 janv. 2021 01:21:05 +0100, a ecrit: > > > H.J. Lu, le lun. 18 janv. 2021 16:17:16 -0800, a ecrit: > > > > Why doesn't hurd ld.so build script mark strnc

Re: [PATCH] Hurd: Enable ifunc by default

2021-01-18 Thread H.J. Lu
On Mon, Jan 18, 2021 at 4:24 PM Samuel Thibault wrote: > > Samuel Thibault, le mar. 19 janv. 2021 01:21:05 +0100, a ecrit: > > H.J. Lu, le lun. 18 janv. 2021 16:17:16 -0800, a ecrit: > > > Why doesn't hurd ld.so build script mark strncpy as needed? > > > > I don't even know what "hurd ld.so build

Re: [PATCH] Hurd: Enable ifunc by default

2021-01-18 Thread Samuel Thibault
Samuel Thibault, le mar. 19 janv. 2021 01:21:05 +0100, a ecrit: > H.J. Lu, le lun. 18 janv. 2021 16:17:16 -0800, a ecrit: > > Why doesn't hurd ld.so build script mark strncpy as needed? > > I don't even know what "hurd ld.so build script" is. More precisely, I don't see why hurd should be doing a

Re: [PATCH] Hurd: Enable ifunc by default

2021-01-18 Thread Samuel Thibault
H.J. Lu, le lun. 18 janv. 2021 16:17:16 -0800, a ecrit: > String function usage in ld.so must be carefully managed. Sure. > Why doesn't hurd ld.so build script mark strncpy as needed? I don't even know what "hurd ld.so build script" is. AFAIK there is not much hurd-specific there except includin

Re: [PATCH] Hurd: Enable ifunc by default

2021-01-18 Thread H.J. Lu
On Mon, Jan 18, 2021 at 4:04 PM Samuel Thibault via Libc-alpha wrote: > > (leaving gcc out, it's really out of the story, it just happens to > expose support for ifunc) > > Joseph Myers, le lun. 18 janv. 2021 20:05:44 +, a ecrit: > > /scratch/jmyers/glibc-bot/install/compilers/i686-gnu/lib/gcc

Re: [PATCH] Hurd: Enable ifunc by default

2021-01-18 Thread Samuel Thibault
(leaving gcc out, it's really out of the story, it just happens to expose support for ifunc) Joseph Myers, le lun. 18 janv. 2021 20:05:44 +, a ecrit: > /scratch/jmyers/glibc-bot/install/compilers/i686-gnu/lib/gcc/i686-glibc-gnu/11.0.0/../../../../i686-glibc-gnu/bin/ld: > > /scratch/jmyers/gl

Re: [PATCH] Hurd: Enable ifunc by default

2021-01-18 Thread Samuel Thibault
Hello, Joseph Myers, le lun. 18 janv. 2021 20:05:44 +, a ecrit: > On Wed, 13 Jan 2021, Thomas Schwinge wrote: > > Thanks (and sorry for the delay), pushed "Hurd: Enable ifunc by default" > > to master branch in commit e9cb89b936f831a02318d45fc4ddb06f7be55ae4, and > > cherry-picked into release

Re: [PATCH] Hurd: Enable ifunc by default

2021-01-18 Thread Joseph Myers
On Wed, 13 Jan 2021, Thomas Schwinge wrote: > Hi! > > Thanks (and sorry for the delay), pushed "Hurd: Enable ifunc by default" > to master branch in commit e9cb89b936f831a02318d45fc4ddb06f7be55ae4, and > cherry-picked into releases/gcc-10 branch in commit > 92b131491c22eb4e4b663d226e9d97f1fd69306