public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] glibc-2.27 is broken
@ 2018-10-30 18:27 the
  2018-10-30 18:52 ` Philip Webb
  2018-11-01  0:12 ` Andrew Savchenko
  0 siblings, 2 replies; 4+ messages in thread
From: the @ 2018-10-30 18:27 UTC (permalink / raw
  To: Gentoo Users List

Hello,

I have upgraded to sys-libs/glibc-2.27-r6
and it broke the system.

I can't even compile a hello world test program in c.

I always get the following linking error:

$ gcc main.c -o main.elf
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crtn.o(a.debug_info+0x1000300000000):
reloc against `*UND*': error 4
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status

When I try to install something it fails during configuration at
compiler sanity check.

Should I report this as a bug or is there's something wrong with me?

System info:

Binutils 2.30-r2
gcc 7.3.0

# emerge -pvq '=sys-devel/gcc-7.3.0-r3'
[ebuild   R   ] sys-devel/gcc-7.3.0-r3  USE="cilk cxx fortran go
graphite (multilib) nls nptl openmp pch pgo* (pie) sanitize ssp vtv
(-altivec) -debug -doc (-fixed-point) (-hardened) (-jit) (-libssp) -mpx
-objc -objc++ -objc-gc -regression-test -vanilla"





# emerge --info '=sys-libs/glibc-2.27-r6'
Portage 2.3.49 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop,
gcc-7.3.0, glibc-2.27-r6, 4.12.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname:
Linux-4.12.12-gentoo-x86_64-AMD_Opteron-tm-_Processor_6320-with-gentoo-2.4.1
KiB Mem:    32921172 total,  30174684 free
KiB Swap:   33303572 total,  33303572 free
Timestamp of repository gentoo: Mon, 29 Oct 2018 22:00:01 +0000
Head commit of repository gentoo: 0d1f9865d36f3c4efac70f236d962901a113b8b4
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5::gentoo,
3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.12.6::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.28.1::gentoo,
2.29.1-r1::gentoo, 2.30-r2::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.4.0-r3::gentoo,
6.4.0-r1::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mno-tbm -mno-bmi -mno-avx -mno-aes -mno-sha
-mno-fma -mno-xop -mno-lwp -mno-abm -mno-3dnow -mno-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mno-tbm -mno-bmi -mno-avx -mno-aes -mno-sha
-mno-fma -mno-xop -mno-lwp -mno-abm -mno-3dnow -mno-sse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX
PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME
XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified
distlocks ebuild-locks fixlafiles merge-sync multilib-strict news
parallel-fetch preserve-libs protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo
http://gentoo.mirrors.tera-byte.com/ rsync://mirrors.tera-byte.com/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--omit-dir-times --compress --force --whole-file --delete --stats
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo
cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emacs
emboss encode exif fam ffmpeg flac fortran gdbm gif glamor gpm gtk iconv
ipv6 jpeg latex lcms ldap libnotify libtirpc lock mad mng mp3 mp4 mpeg
multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png
policykit ppds qt5 readline sdl seccomp session spell ssl
startup-notification svg tcpd threads tiff truetype udev udisks unicode
upower usb v4l vorbis wxwidgets x264 xattr xcb xml xv xvid zlib"
ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd
actions alias auth_basic authn_alias authn_anon authn_dbm authn_default
authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock
deflate dir disk_cache env expires ext_filter file_cache filter headers
include info log_config logio mem_cache mime mime_magic negotiation
rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df
interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext
sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore
fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom
oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2
timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard
mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1"
POSTGRES_TARGETS="postgres9_5 postgres10"
PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6"
RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="radeon r600"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark
dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK,
LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-libs/glibc-2.27-r6::gentoo was built with the following:
USE="multiarch (multilib) -audit -caps (-compile-locales) -doc -gd
(-hardened) -headers-only -nscd -profile (-selinux) -suid -systemtap
(-vanilla)" ABI_X86="(64)"
CFLAGS="-mno-tbm -mno-bmi -mno-avx -mno-aes -mno-sha -mno-fma -mno-xop
-mno-lwp -mno-abm -mno-3dnow -mno-sse3 -pipe -ggdb -O2 -fno-strict-aliasing"
CXXFLAGS="-mno-tbm -mno-bmi -mno-avx -mno-aes -mno-sha -mno-fma -mno-xop
-mno-lwp -mno-abm -mno-3dnow -mno-sse3 -pipe -O2 -fno-strict-aliasing"




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-01  0:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-30 18:27 [gentoo-user] glibc-2.27 is broken the
2018-10-30 18:52 ` Philip Webb
2018-10-30 19:02   ` the
2018-11-01  0:12 ` Andrew Savchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox