[PATCH 1/2] Revert "linux: Move {f}xstat{at} to compat symbols"

Andreas Schwab schwab@linux-m68k.org
Thu Dec 24 12:32:17 GMT 2020


On Dez 24 2020, Florian Weimer wrote:

> * Andreas Schwab:
>
>> On Okt 22 2020, Adhemerval Zanella via Libc-alpha wrote:
>>
>>> This reverts commit 20b39d59467b0c1d858e89ded8b0cebe55e22f60 to
>>> moke {f}xstat{at} default symbols.
>
> How does this present itself as a problem?

configure:3190: checking whether g++ can link programs
configure:3213: g++ -o conftest -g -O2   conftest.cpp  >&5
configure:3213: $? = 0
configure:3236: g++ -o conftest -g -O2   -static conftest.cpp  >&5
/usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: /usr/lib/gc\
c/i586-suse-linux/10/libstdc++.a(basic_file.o): in function `std::__basic_file<\
char>::showmanyc()':
/usr/include/sys/stat.h:518: undefined reference to `__fxstat64'
collect2: error: ld returned 1 exit status

> Building against an older glibc for static linking against a future
> glibc seems a rather fringe use case to me.

That basically means you have to rebuild the world, due to the ubiquity
of stat etc.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list