1 |
Hello, |
2 |
|
3 |
I have upgraded to sys-libs/glibc-2.27-r6 |
4 |
and it broke the system. |
5 |
|
6 |
I can't even compile a hello world test program in c. |
7 |
|
8 |
I always get the following linking error: |
9 |
|
10 |
$ gcc main.c -o main.elf |
11 |
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: |
12 |
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crtn.o(a.debug_info+0x1000300000000): |
13 |
reloc against `*UND*': error 4 |
14 |
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: |
15 |
final link failed: Nonrepresentable section on output |
16 |
collect2: error: ld returned 1 exit status |
17 |
|
18 |
When I try to install something it fails during configuration at |
19 |
compiler sanity check. |
20 |
|
21 |
Should I report this as a bug or is there's something wrong with me? |
22 |
|
23 |
System info: |
24 |
|
25 |
Binutils 2.30-r2 |
26 |
gcc 7.3.0 |
27 |
|
28 |
# emerge -pvq '=sys-devel/gcc-7.3.0-r3' |
29 |
[ebuild R ] sys-devel/gcc-7.3.0-r3 USE="cilk cxx fortran go |
30 |
graphite (multilib) nls nptl openmp pch pgo* (pie) sanitize ssp vtv |
31 |
(-altivec) -debug -doc (-fixed-point) (-hardened) (-jit) (-libssp) -mpx |
32 |
-objc -objc++ -objc-gc -regression-test -vanilla" |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
# emerge --info '=sys-libs/glibc-2.27-r6' |
39 |
Portage 2.3.49 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, |
40 |
gcc-7.3.0, glibc-2.27-r6, 4.12.12-gentoo x86_64) |
41 |
================================================================= |
42 |
System Settings |
43 |
================================================================= |
44 |
System uname: |
45 |
Linux-4.12.12-gentoo-x86_64-AMD_Opteron-tm-_Processor_6320-with-gentoo-2.4.1 |
46 |
KiB Mem: 32921172 total, 30174684 free |
47 |
KiB Swap: 33303572 total, 33303572 free |
48 |
Timestamp of repository gentoo: Mon, 29 Oct 2018 22:00:01 +0000 |
49 |
Head commit of repository gentoo: 0d1f9865d36f3c4efac70f236d962901a113b8b4 |
50 |
sh bash 4.4_p12 |
51 |
ld GNU ld (Gentoo 2.30 p2) 2.30.0 |
52 |
app-shells/bash: 4.4_p12::gentoo |
53 |
dev-lang/perl: 5.24.3-r1::gentoo |
54 |
dev-lang/python: 2.7.14-r1::gentoo, 3.4.5::gentoo, |
55 |
3.5.5::gentoo, 3.6.5::gentoo |
56 |
dev-util/cmake: 3.9.6::gentoo |
57 |
dev-util/pkgconfig: 0.29.2::gentoo |
58 |
sys-apps/baselayout: 2.4.1-r2::gentoo |
59 |
sys-apps/openrc: 0.34.11::gentoo |
60 |
sys-apps/sandbox: 2.13::gentoo |
61 |
sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo |
62 |
sys-devel/automake: 1.12.6::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo |
63 |
sys-devel/binutils: 2.26.1::gentoo, 2.28.1::gentoo, |
64 |
2.29.1-r1::gentoo, 2.30-r2::gentoo |
65 |
sys-devel/gcc: 4.9.3::gentoo, 5.4.0-r3::gentoo, |
66 |
6.4.0-r1::gentoo, 7.3.0-r3::gentoo |
67 |
sys-devel/gcc-config: 1.8-r1::gentoo |
68 |
sys-devel/libtool: 2.4.6-r3::gentoo |
69 |
sys-devel/make: 4.2.1-r3::gentoo |
70 |
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) |
71 |
sys-libs/glibc: 2.27-r6::gentoo |
72 |
Repositories: |
73 |
|
74 |
gentoo |
75 |
location: /usr/portage |
76 |
sync-type: rsync |
77 |
sync-uri: rsync://rsync.gentoo.org/gentoo-portage |
78 |
priority: -1000 |
79 |
sync-rsync-extra-opts: |
80 |
sync-rsync-verify-metamanifest: yes |
81 |
sync-rsync-verify-jobs: 1 |
82 |
sync-rsync-verify-max-age: 24 |
83 |
|
84 |
ACCEPT_KEYWORDS="amd64" |
85 |
ACCEPT_LICENSE="* -@EULA" |
86 |
CBUILD="x86_64-pc-linux-gnu" |
87 |
CFLAGS="-march=native -mno-tbm -mno-bmi -mno-avx -mno-aes -mno-sha |
88 |
-mno-fma -mno-xop -mno-lwp -mno-abm -mno-3dnow -mno-sse3 -O2 -pipe" |
89 |
CHOST="x86_64-pc-linux-gnu" |
90 |
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" |
91 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d |
92 |
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild |
93 |
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d |
94 |
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" |
95 |
CXXFLAGS="-march=native -mno-tbm -mno-bmi -mno-avx -mno-aes -mno-sha |
96 |
-mno-fma -mno-xop -mno-lwp -mno-abm -mno-3dnow -mno-sse3 -O2 -pipe" |
97 |
DISTDIR="/usr/portage/distfiles" |
98 |
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX |
99 |
PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME |
100 |
XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" |
101 |
FCFLAGS="-O2 -pipe" |
102 |
FEATURES="assume-digests binpkg-logs config-protect-if-modified |
103 |
distlocks ebuild-locks fixlafiles merge-sync multilib-strict news |
104 |
parallel-fetch preserve-libs protect-owned sandbox sfperms strict |
105 |
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv |
106 |
usersandbox usersync xattr" |
107 |
FFLAGS="-O2 -pipe" |
108 |
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo |
109 |
http://gentoo.mirrors.tera-byte.com/ rsync://mirrors.tera-byte.com/gentoo" |
110 |
LANG="en_US.utf8" |
111 |
LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
112 |
MAKEOPTS="-j9" |
113 |
PKGDIR="/usr/portage/packages" |
114 |
PORTAGE_CONFIGROOT="/" |
115 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
116 |
--omit-dir-times --compress --force --whole-file --delete --stats |
117 |
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local |
118 |
--exclude=/packages --exclude=/.git" |
119 |
PORTAGE_TMPDIR="/var/tmp" |
120 |
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo |
121 |
cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emacs |
122 |
emboss encode exif fam ffmpeg flac fortran gdbm gif glamor gpm gtk iconv |
123 |
ipv6 jpeg latex lcms ldap libnotify libtirpc lock mad mng mp3 mp4 mpeg |
124 |
multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png |
125 |
policykit ppds qt5 readline sdl seccomp session spell ssl |
126 |
startup-notification svg tcpd threads tiff truetype udev udisks unicode |
127 |
upower usb v4l vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" |
128 |
ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x |
129 |
ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel |
130 |
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem |
131 |
ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd |
132 |
actions alias auth_basic authn_alias authn_anon authn_dbm authn_default |
133 |
authn_file authz_dbm authz_default authz_groupfile authz_host |
134 |
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock |
135 |
deflate dir disk_cache env expires ext_filter file_cache filter headers |
136 |
include info log_config logio mem_cache mime mime_magic negotiation |
137 |
rewrite setenvif speling status unique_id userdir usertrack vhost_alias" |
138 |
CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df |
139 |
interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext |
140 |
sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore |
141 |
fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom |
142 |
oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 |
143 |
timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard |
144 |
mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 |
145 |
lb216 lcdm001 mtxorb ncurses text" |
146 |
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" |
147 |
OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" |
148 |
POSTGRES_TARGETS="postgres9_5 postgres10" |
149 |
PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" |
150 |
RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="radeon r600" |
151 |
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p |
152 |
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark |
153 |
dhcpmac delude chaos account" |
154 |
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, |
155 |
LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, |
156 |
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
157 |
|
158 |
================================================================= |
159 |
Package Settings |
160 |
================================================================= |
161 |
|
162 |
sys-libs/glibc-2.27-r6::gentoo was built with the following: |
163 |
USE="multiarch (multilib) -audit -caps (-compile-locales) -doc -gd |
164 |
(-hardened) -headers-only -nscd -profile (-selinux) -suid -systemtap |
165 |
(-vanilla)" ABI_X86="(64)" |
166 |
CFLAGS="-mno-tbm -mno-bmi -mno-avx -mno-aes -mno-sha -mno-fma -mno-xop |
167 |
-mno-lwp -mno-abm -mno-3dnow -mno-sse3 -pipe -ggdb -O2 -fno-strict-aliasing" |
168 |
CXXFLAGS="-mno-tbm -mno-bmi -mno-avx -mno-aes -mno-sha -mno-fma -mno-xop |
169 |
-mno-lwp -mno-abm -mno-3dnow -mno-sse3 -pipe -O2 -fno-strict-aliasing" |