Package Details: lib32-glibc-eac 2.40-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.39
First Submitted: 2024-02-07 00:41 (UTC)
Last Updated: 2024-07-25 05:04 (UTC)

Dependencies (5)

Required by (584)

Sources (7)

Latest Comments

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

xiota commented on 2024-04-27 10:54 (UTC)

mold: warning: unknown command line option: -z nomark-plt

@konradmoesch Don't use mold.

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.

xiota commented on 2024-03-27 12:10 (UTC) (edited on 2024-03-27 12:16 (UTC) by xiota)

@Levitating @MacTavishAO The problem is caused by LDFLAGS=${LDFLAGS/,-z,now/} on line 133. A couple weeks ago, makepkg.conf was changed. Previously, linker options were all grouped together:

-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Now, the options are separated:

-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now

Removing ,-z,now leaves behind -Wl, which is not a valid option on its own.

I have not tested, but changing to LDFLAGS=${LDFLAGS/,-z,now/,-z,lazy} should fix the problem while working with both old and new config.

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

MacTavishAO commented on 2024-02-07 23:37 (UTC)

Checks did not fail on me but I suppose --nocheck wouldn't hurt and should decrease build time. It's up to your preference really.