Package Details: lib32-glibc-eac 2.41+r9+ga900dbaf70f0-1

Git Clone URL: https://aur.archlinux.org/glibc-eac.git (read-only, click to copy)
Package Base: glibc-eac
Description: GNU C Library (32-bit) with DT_HASH patch for games using EAC
Upstream URL: https://www.gnu.org/software/libc
Licenses: GPL-2.0-or-later, LGPL-2.1-or-later
Conflicts: lib32-glibc
Provides: lib32-glibc
Submitter: MacTavishAO
Maintainer: MacTavishAO
Last Packager: MacTavishAO
Votes: 13
Popularity: 0.020471
First Submitted: 2024-02-07 00:41 (UTC)
Last Updated: 2025-03-07 23:21 (UTC)

Dependencies (5)

Required by (654)

Sources (7)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

Tebro commented on 2024-05-01 07:55 (UTC) (edited on 2024-05-01 07:55 (UTC) by Tebro)

I am trying to build this (with yay first, but also chroot) and I get this failure

<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>: note: this is the location of the previous definition
cc1: all warnings being treated as errors
make[2]: *** [../o-iterator.mk:9: /build/glibc-eac/src/glibc-build/stdlib/testmb.o] Error 1
make[2]: Leaving directory '/build/glibc-eac/src/glibc/stdlib'
make[1]: *** [Makefile:484: stdlib/tests] Error 2
make[1]: Leaving directory '/build/glibc-eac/src/glibc'
make: *** [Makefile:9: check] Error 2
==> ERROR: A failure occurred in check().

konradmoesch commented on 2024-04-27 11:41 (UTC) (edited on 2024-04-27 11:44 (UTC) by konradmoesch)

With ld I get: configure: error: --enable-multi-arch support requires assembler and linker support, with lld I also get

ld.lld: warning: unknown -z value: nomark-plt
ld.lld: error: version script assignment of 'GLIBC_2.4' to symbol '__stack_chk_guard' failed: symbol not defined
ld.lld: error: version script assignment of 'GLIBC_PRIVATE' to symbol '__nptl_set_robust_list_avail' failed: symbol not defined
ld.lld: error: version script assignment of 'GLIBC_PRIVATE' to symbol '__pointer_chk_guard' failed: symbol not defined
ld.lld: error: version script assignment of 'GLIBC_PRIVATE' to symbol '_dl_make_stack_executable' failed: symbol not defined
ld.lld: error: version script assignment of 'GLIBC_PRIVATE' to symbol '_dl_starting_up' failed: symbol not defined

So, which linker should I use to make this pkg?

konradmoesch commented on 2024-04-27 07:46 (UTC)

I get strange errors:

make[2]: Entering directory '/home/user/.cache/yay/glibc-eac/src/glibc/elf'
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fuse-ld=mold  -nostdlib -nostartfiles -shared -o /home/user/.cache/yay/glibc-eac/src/glibc-build/elf/ld.so.new         \
      -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,nomark-plt -Wl,-z,defs -Wl,-z,now   \
      -Wl,-z,pack-relative-relocs \
      /home/user/.cache/yay/glibc-eac/src/glibc-build/elf/librtld.os -Wl,--version-script=/home/user/.cache/yay/glibc-eac/src/glibc-build/ld.map           \
      -Wl,-soname=ld-linux-x86-64.so.2
mold: warning: unknown command line option: -z nomark-plt
mold: warning: /home/user/.cache/yay/glibc-eac/src/glibc-build/ld.map: cannot assign version `GLIBC_2.4` to symbol `__stack_chk_guard`: symbol not found
mold: warning: /home/user/.cache/yay/glibc-eac/src/glibc-build/ld.map: cannot assign version `GLIBC_PRIVATE` to symbol `__nptl_set_robust_list_avail`: symbol not found
mold: warning: /home/user/.cache/yay/glibc-eac/src/glibc-build/ld.map: cannot assign version `GLIBC_PRIVATE` to symbol `__pointer_chk_guard`: symbol not found
mold: warning: /home/user/.cache/yay/glibc-eac/src/glibc-build/ld.map: cannot assign version `GLIBC_PRIVATE` to symbol `_dl_make_stack_executable`: symbol not found
mold: warning: /home/user/.cache/yay/glibc-eac/src/glibc-build/ld.map: cannot assign version `GLIBC_PRIVATE` to symbol `_dl_starting_up`: symbol not found

I did use --mflags "--nocheck", no effect

MacTavishAO commented on 2024-03-27 14:50 (UTC)

Pushed an update adressing this issue. Thanks @xiota.

CucumberSpace commented on 2024-03-27 08:31 (UTC)

--mflags "--nocheck" if you use yay

MacTavishAO commented on 2024-03-26 22:02 (UTC) (edited on 2024-03-26 22:02 (UTC) by MacTavishAO)

I'm not sure why you get this error because this package is virtually one to one copy of glibc package from official repos with the patch.

Good news is that this fail comes from check() step so glibc is already built. You can pass --nocheck option to makepkg to skip this step.

Levitating commented on 2024-03-26 21:48 (UTC)

I am faced with this weird error

make[2]: Entering directory '/home/rein/.cache/paru/clone/glibc-eac/src/glibc'
gcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl          -Wl,-z,pack-relative-relocs  -shared -nostdlib -nostartfiles \
      -x assembler /dev/null -o /home/rein/.cache/paru/clone/glibc-eac/src/glibc-build/format.lds.so
gcc: error: unrecognized command-line option ‘-Wl’; did you mean ‘-W’?
make[2]: *** [Makerules:992: /home/rein/.cache/paru/clone/glibc-eac/src/glibc-build/format.lds] Error 1
make[2]: Leaving directory '/home/rein/.cache/paru/clone/glibc-eac/src/glibc'
make[1]: *** [Makefile:633: /home/rein/.cache/paru/clone/glibc-eac/src/glibc-build/testroot.pristine/install.stamp] Error 2
make: *** [Makefile:9: check] Error 2