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.25 |
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
1 2 Next › Last »
0xFF1E071F commented on 2022-10-27 10:40 (UTC)
I got this error:
ttc0419 commented on 2022-06-26 03:58 (UTC)
@razykov Hi, according to the naming convention, this package should be the latest version of glibc. If you want to target 2.33, you should create a separate package called "arm-linux-gnueabihf-glibc33".
Arch linux arm already updated glibc to 2.35. The current version cannot compile with the environment since a lot of symbols require 2.34. Causing a lot of undefined reference when compiling:
razykov commented on 2021-10-12 22:42 (UTC)
@fabian-ang Yeah, it's obvious But I don't think it's worth updating the package right now. Popular target distros not updated yet to 2.34. If I update package right now, it won't work for anyone. Also I plan to create new package that pinning version 2.33 for users of target distro glibc<2.34
fabian-ang commented on 2021-10-11 10:15 (UTC)
This is not a bug or something. It's actually expected behaviour, as glibc is generally not forward-compatible. So a program that was linked against a newer glibc version is not going to run under an older version
razykov commented on 2021-10-04 18:05 (UTC) (edited on 2021-10-04 18:06 (UTC) by razykov)
Yep. I prepared patch for update PKGBUILD to 2.34. It build the package and compile a 'hello world' but I ran into a problem (
version 'GLIBC_2.34' not found
) when starting the program on RspberryOS (glibc2.28
) and ArchlinuxARM (glibc2.33
). Now I uploaded patch on my github (https://github.com/razykov/arm-linux-gnueabihf-glibc). If you have any ideas let me knowfabian-ang commented on 2021-10-04 12:32 (UTC)
Is there any specific reason you don't update glibc?
staletic commented on 2021-06-02 05:38 (UTC)
Can't be compiled with the
lto
option enabled. At least when compiled with stage 2 gcc.gkatev commented on 2020-09-07 12:08 (UTC) (edited on 2020-09-07 12:09 (UTC) by gkatev)
Thought I would/should mention I came across a problem when compiling this. Specifically:
Should the sdt header already be present in the toolchain? I was upgrading from 2.28-5, and, at the time, arm-linux-gnueabihf-gcc was version 8.2.1+20181127-1. Maybe the slightly outdated compiler was the reason (?).
I copied the bundled std-config.h and sdt.h to
/usr/arm-linux-gnueabihf/include/sys
, and the package compiled successfully. (And installed it manually with pacman --overwrite)xiretza commented on 2020-05-18 17:08 (UTC) (edited on 2020-05-18 17:13 (UTC) by xiretza)
@tavianator: ah, you're right! Confirmation bias got the better of me, I was convinced it was
DEBUG_CFLAGS
that were added, not just the-fdebug-prefix-map
. In factDEBUG_CFLAGS
is unset just likeCFLAGS
by!buildflags
, but that extra option is then added in/usr/share/makepkg/buildenv/debugflags.sh
regardless of the build flags. In that case, yes, just adding-g -O2
is probably the way to go.tavianator commented on 2020-05-18 15:57 (UTC)
@xiretza: Interesting. This package needs
!buildflags
to avoid things like-march=x86-64
. But actually with!buildflags
, theDEBUG_CFLAGS
don't get passed either. However, makepkg does add-fdebug-prefix-map=$srcdir=/usr/src/debug
toCFLAGS
, which causes the problem you describe. Therefore I think the best thing to do is to pass the default flags-g -O2
explicitly.1 2 Next › Last »