To override certain pthread symbols a machine in ports must also override nptl/init.c to initialize the structure of pointers used by nptl/forward.c. However, overriding nptl/init.c also overrides csu/init.c, because the file names are the same. The solution is to rename csu/init.c to csu/csu-init.c. Patch attached. No regressions on hppa-linux-gnu. Please apply.
Created attachment 3792 [details] Rename csu/init.c to csu/csu-init.c
Ping? Is this patch the right solution?
I changed this now that the VCS can keep track of renames. I renamed a different file, though.
Subject: Re: Overriding nptl/init.c also overrides csu/init.c I will be out of the office from May 13th through May 31st. I will not have access to email and will not be checking voicemail. If you require urgent assitance please contact: CodeSourcery Support <support@codesourcery.com> Cheers, Carlos. -- Carlos O'Donell CodeSourcery carlos@codesourcery.com (650) 331-3385 x716