Package Details: glibc-eac 2.39-4

Git Clone URL: https://aur.archlinux.org/glibc-eac.git (read-only, click to copy)
Package Base: glibc-eac
Description: GNU C Library 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: glibc
Provides: glibc
Submitter: MacTavishAO
Maintainer: MacTavishAO
Last Packager: MacTavishAO
Votes: 9
Popularity: 2.56
First Submitted: 2024-02-07 00:41 (UTC)
Last Updated: 2024-05-03 21:13 (UTC)

Dependencies (9)

Required by (6524)

Sources (7)

Latest Comments

1 2 Next › Last »

Ramazottii commented on 2024-05-14 10:19 (UTC) (edited on 2024-05-14 10:29 (UTC) by Ramazottii)

Having this error after update... ==> Cleaning up... [sudo] password for ramazotti: loading packages... resolving dependencies... looking for conflicting packages... :: glibc-eac-2.39-4 and glibc-2.39+r52+gf8e4623421-1 are in conflict. Remove glibc? [y/N] y error: failed to prepare transaction (could not satisfy dependencies) :: removing glibc breaks dependency 'glibc=2.39+r52+gf8e4623421' required by lib32-glibc -> error installing: [/home/ramazotti/.cache/yay/glibc-eac/glibc-eac-2.39-4-x86_64.pkg.tar.zst] - exit status 1

I'm stupid, I wont delete this but post the solution. Just yay -S lib32-glibc-eac

MacTavishAO commented on 2024-05-03 21:14 (UTC)

It should work now.

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().

xiota commented on 2024-04-27 11:55 (UTC)

Try building in a clean chroot.

If that doesn't work, something may be wrong with the patch.

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?

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.