Displaying 5 results from an estimated 5 matches for "dglibc_compat_level".
2020 Nov 11
2
Targeting old glibc
...rent state after contributors "observe GNU
> ld behaviors and patch LLD when needed" :(
I think there might be some discussions needed with
glibc/coreutils/gcc/llvm because it is way too complicated.
I believe that targeting an older glibc version should not be more
complicated than
-DGLIBC_COMPAT_LEVEL=0x020205 -Wl,compat=GLIBC_2.2.5
On OSX there is a target platform command line option, and I believe
it is the right approach, yet I can't really comment on it.
> For an undefined symbol, there is only this form: sym at ver
> For a defined symbol, both sym at ver (non-default; sometimes...
2020 Nov 11
2
Targeting old glibc
...aviors and patch LLD when needed" :(
> >
> > I think there might be some discussions needed with
> > glibc/coreutils/gcc/llvm because it is way too complicated.
> > I believe that targeting an older glibc version should not be more
> > complicated than
> > -DGLIBC_COMPAT_LEVEL=0x020205 -Wl,compat=GLIBC_2.2.5
> >
> > On OSX there is a target platform command line option, and I believe
> > it is the right approach, yet I can't really comment on it.
> >
> > > For an undefined symbol, there is only this form: sym at ver
> > > For...
2020 Nov 11
0
Targeting old glibc
...t;observe GNU
> > ld behaviors and patch LLD when needed" :(
>
> I think there might be some discussions needed with
> glibc/coreutils/gcc/llvm because it is way too complicated.
> I believe that targeting an older glibc version should not be more
> complicated than
> -DGLIBC_COMPAT_LEVEL=0x020205 -Wl,compat=GLIBC_2.2.5
>
> On OSX there is a target platform command line option, and I believe
> it is the right approach, yet I can't really comment on it.
>
> > For an undefined symbol, there is only this form: sym at ver
> > For a defined symbol, both sym at...
2020 Nov 11
0
Targeting old glibc
...n needed" :(
>> >
>> > I think there might be some discussions needed with
>> > glibc/coreutils/gcc/llvm because it is way too complicated.
>> > I believe that targeting an older glibc version should not be more
>> > complicated than
>> > -DGLIBC_COMPAT_LEVEL=0x020205 -Wl,compat=GLIBC_2.2.5
>> >
>> > On OSX there is a target platform command line option, and I believe
>> > it is the right approach, yet I can't really comment on it.
>> >
>> > > For an undefined symbol, there is only this form: sym at ve...
2020 Nov 10
2
Targeting old glibc
Thank you very much for your help Fāng-ruì Sòng.
I've tried various things like linking directly to libm-2.32 but it
didn't work, it seems that libm-2.32 still pulls libmvec.
I have the following linker flags:
CLANG_LDFLAGS="-fuse-ld=lld -static-libstdc++ -static-libgcc
-fvisibility=hidden -fdata-sections -ffunction-sections"
CLANG_LDFLAGS="$CLANG_LDFLAGS