On Mon, 22 Jan 2024, Andrei Borzenkov wrote:
On Mon, Jan 22, 2024 at 2:31?PM Jan Engelhardt <jengelh@inai.de> wrote:
On Monday 2024-01-22 10:55, Obs Geeko via openSUSE Factory wrote:
Thanks for everyone.
https://build.opensuse.org/package/view_file/openSUSE:Factory/gcc13/gcc13.sp...
at line 225: ------------------------------------ Name: gcc13 BuildRequires: xz .... BuildRequires: glibc-devel-32bit .... ------------------------------------
it's possible to drop that from the specfile, along with the --cpu-32= option (or whatever it was called) that's used in the %configure call. Just put the work into it.
You can also simply define 'disable_32bit' in the project config (or at the start of gcc13.spec).
Does it mean the compiler will not be able to produce 32 bit binaries anymore?
Yes. GCC can't build 32bit target libraries without 32bit glibc. But the compiler can still produce 32bit assembly with -m32, just almost every link it emits will fail. Richard.