Re: [PATCH] config.host: add crtbeginT.o to extra_parts for FreeBSD [PR118685]

2025-02-20 Thread Gerald Pfeifer
On Sat, 8 Feb 2025, Gerald Pfeifer wrote: > On Tue, 28 Jan 2025, Dimitry Andric wrote: >> Ref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118685 >> >> This ensures that gcc uses its own crt objects for static linking. >> Otherwise, it could mix the base system's crtbeginT.o with libgcc's >> crte

Re: [PATCH] config.host: add crtbeginT.o to extra_parts for FreeBSD [PR118685]

2025-02-08 Thread Gerald Pfeifer
On Tue, 28 Jan 2025, Dimitry Andric wrote: > Ref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118685 > > This ensures that gcc uses its own crt objects for static linking. > Otherwise, it could mix the base system's crtbeginT.o with libgcc's > crtend.o, leading to possible segfaults. > > Signed-