Hello,
i tried compiling glibc today, but unfortunatly I ran into an error I could not resolve.
Code:
init-first.c:86:1: error: visibility attribute not supported in this configuration; ignored [-Werror=attributes]
cc1: all warnings being treated as errors
make[2]: *** [../o-iterator.mk:9: /mnt/lfs/sources/glibc-2.36/build/csu/init-first.o] Error 1
make[2]: Leaving directory '/mnt/lfs/sources/glibc-2.36/csu'
make[1]: *** [Makefile:484: csu/subdir_lib] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/glibc-2.36'
make: *** [Makefile:9: all] Error 2
Here is the output of
:
https://pastebin.com/9k911Xrc
And here the output of version_check.sh:
Code:
bash, version 5.2.9(1)-release
/bin/sh -> /usr/bin/bash
Binutils: version 2.38-25.fc37
bison (GNU Bison) 3.8.2
yacc is /usr/bin/yacc - 2.0 20220128
bzip2, Version 1.0.8, 13-Jul-2019.
Coreutils: 9.1
diff (GNU diffutils) 3.8
find (GNU findutils) 4.9.0
GNU Awk 5.1.1, API: 3.1 (GNU MPFR 4.1.0-p13, GNU MP 6.2.1)
/usr/bin/awk -> /usr/bin/gawk
gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4)
g++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4)
(GNU libc) 2.36
grep (GNU grep) 3.7
gzip 1.12
Linux version 6.0.9-300.fc37.x86_64 (mockbuild@bkernel01.iad2.fedoraproject.org) (gcc (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2), GNU ld version 2.38-24.fc37) #1 SMP PREEMPT_DYNAMIC Wed Nov 16 17:36:22 UTC 2022
m4 (GNU M4) 1.4.19
GNU Make 4.3
GNU patch 2.7.6
Perl version='5.36.0';
Python 3.11.0
sed (GNU sed) 4.8
tar (GNU tar) 1.34
texi2any (GNU texinfo) 6.8
xz (XZ Utils) 5.2.5
g++ compilation OK
Can anybody resolve the issue, I tried my best googeling, but have not gotten smarter.
Thank you in advance.