Search Criteria
Package Details: arm-linux-gnueabihf-glibc 2.40-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/arm-linux-gnueabihf-glibc.git (read-only, click to copy) |
---|---|
Package Base: | arm-linux-gnueabihf-glibc |
Description: | GNU C Library |
Upstream URL: | https://www.gnu.org/software/libc/ |
Licenses: | GPL, LGPL |
Conflicts: | arm-linux-gnueabihf-eglibc, arm-linux-gnueabihf-glibc-headers |
Provides: | arm-linux-gnueabihf-eglibc, arm-linux-gnueabihf-glibc-headers |
Replaces: | arm-linux-gnueabihf-glibc-headers |
Submitter: | tavianator |
Maintainer: | wgottwalt |
Last Packager: | wgottwalt |
Votes: | 37 |
Popularity: | 0.029715 |
First Submitted: | 2015-09-14 15:40 (UTC) |
Last Updated: | 2024-12-03 18:22 (UTC) |
Dependencies (3)
- arm-linux-gnueabihf-linux-api-headersAUR
- arm-linux-gnueabihf-gcc-stage2AUR (arm-linux-gnueabihf-gccAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
Required by (2)
- arm-linux-gnueabihf-gcc
- arm-linux-gnueabihf-gcc-stage2 (requires arm-linux-gnueabihf-glibc-headers)
Latest Comments
« First ‹ Previous 1 2
xiretza commented on 2020-05-18 14:50 (UTC)
Hey! First of all, thanks for packaging, toolchains are always a pain. Unfortunately, this package can't be built with
OPTIONS=(debug)
set in makepkg.conf:By default (without
debug
),CFLAGS
is empty/unset thanks to!buildflags
. This causes glibc to fall back to a default set of flags,-g -O2
(seeMakeconfig:327
).Now, when
debug
is set,DEBUG_CFLAGS
from makepkg.conf get appended toCFLAGS
. This happens after!buildflags
unsets the variables, which has been determined to be intentional/notabug after bringing it up in #archlinux-pacman. WithCFLAGS
now set to-g -fvar-tracking-assignments
, the glibc build system no longer falls back to its defaults, and since there's no-Ox
option set, the build fails (I have not found an explanation why glibc needs optimizations to be on, so that's just how it is).There are a couple possible solutions for this, but I think the safest way is to follow the example of official PKGBUILDS. The riscv64-linux-gnu-glibc PKGBUILD for example always sets
CFLAGS
to a fixed value - while this fixes the problem, it's not ideal because it discards the extra flags added fromDEBUG_CFLAGS
. I think the best solution would be this:In the normal, non-debug case this behaves exactly the same as the riscv64 glibc (and almost the same as before the change, except no
-g
being passed by default), and withdebug
, the debug flags are added while still keeping optimization on and hardening disabled.tavianator commented on 2019-02-05 01:46 (UTC)
@skogsmaskin: You'll have to build that package first (and its dependencies before it, etc.). Check the pinned post on https://aur.archlinux.org/packages/arm-linux-gnueabihf-gcc/ for the correct order.
skogsmaskin commented on 2019-02-03 13:41 (UTC) (edited on 2019-02-03 13:43 (UTC) by skogsmaskin)
Getting this error from the lastest update:
« First ‹ Previous 1 2