Re: [power-iee128] How to specify linker flags

2022-01-05 Thread Michael Meissner via Gcc
On Sun, Jan 02, 2022 at 11:58:29PM +0100, Thomas Koenig wrote: > Hi Michael, > > > If you are building libraries that contain modules with multiple long double > > types, you must use the '-mno-gnu-attribute'. We also use the '-Wno-psabi' > > option, which silences the warning that you are switch

Re: [power-iee128] How to specify linker flags

2022-01-03 Thread Segher Boessenkool
Hi! On Mon, Jan 03, 2022 at 11:19:21AM +0100, Thomas Koenig wrote: > One additional point. The linker does not understand > -mno-gnu-attribute: That is a GCC option, not an ld one. If you use it to compile some file there will be no .gnu.attributes section generated for that translation unit.

Re: [power-iee128] How to specify linker flags

2022-01-03 Thread Jakub Jelinek via Gcc
On Mon, Jan 03, 2022 at 11:19:21AM +0100, Thomas Koenig wrote: > > > If you are building libraries that contain modules with multiple > > > long double > > > types, you must use the '-mno-gnu-attribute'.  We also use the > > > '-Wno-psabi' > > > option, which silences the warning that you are switc

Re: [power-iee128] How to specify linker flags

2022-01-03 Thread Thomas Koenig via Gcc
On 02.01.22 23:58, Thomas Koenig wrote: Hi Michael, If you are building libraries that contain modules with multiple long double types, you must use the '-mno-gnu-attribute'.  We also use the '-Wno-psabi' option, which silences the warning that you are switching long double types (if glibc

[power-iee128] How to specify linker flags

2022-01-02 Thread Thomas Koenig via Gcc
Hi Michael, If you are building libraries that contain modules with multiple long double types, you must use the '-mno-gnu-attribute'. We also use the '-Wno-psabi' option, which silences the warning that you are switching long double types (if glibc is not 2.34 or newer). We may need to tweak