Summary: | dev-db/mariadb-10.1.24 : assembler error - CFI instruction used without previous .cfi_startproc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Helmut Jarausch <jarausch> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Helmut Jarausch
2017-06-13 16:05:32 UTC
(In reply to Helmut Jarausch from comment #0) > ================================================================= > Package Settings > ================================================================= > > dev-db/mariadb-10.1.23::gentoo was built with the following: > USE="backup cracklib embedded extraengine latin1 openssl pam perl server xml > -bindist -debug -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc > -jemalloc -kerberos -libressl -mroonga -odbc -oqgraph -profiling (-selinux) > -sphinx -sst-rsync -sst-xtrabackup -static -static-libs -systemd -systemtap > -tcmalloc -test -tokudb -yassl" ABI_X86="(64) -32 (-x32)" > CFLAGS="-mtune=native -O2 -msse3 -pipe -fPIC -fno-strict-aliasing" > CXXFLAGS="-mtune=native -O2 -msse3 -pipe -fPIC -felide-constructors > -fno-strict-aliasing" Works for my gcc-6.3.0 test compile. Please try simpler CFLAGS. -fPIC should not be there, it is added as needed (In reply to Brian Evans from comment #1) > (In reply to Helmut Jarausch from comment #0) > > ================================================================= > > Package Settings > > ================================================================= > > > > dev-db/mariadb-10.1.23::gentoo was built with the following: > > USE="backup cracklib embedded extraengine latin1 openssl pam perl server xml > > -bindist -debug -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc > > -jemalloc -kerberos -libressl -mroonga -odbc -oqgraph -profiling (-selinux) > > -sphinx -sst-rsync -sst-xtrabackup -static -static-libs -systemd -systemtap > > -tcmalloc -test -tokudb -yassl" ABI_X86="(64) -32 (-x32)" > > CFLAGS="-mtune=native -O2 -msse3 -pipe -fPIC -fno-strict-aliasing" > > CXXFLAGS="-mtune=native -O2 -msse3 -pipe -fPIC -felide-constructors > > -fno-strict-aliasing" > > Works for my gcc-6.3.0 test compile. Please try simpler CFLAGS. -fPIC > should not be there, it is added as needed I don't know where the -fPIC comes from. I've removed it from /etc/portage/make.conf and I don't have /etc/portage/env/dev-db/mariadb I think it's setup by Gentoo's gcc installation. Could you post your (effective) CFLAGS and CXXFLAGS? Thanks, Helmut (In reply to Helmut Jarausch from comment #2) > (In reply to Brian Evans from comment #1) > > (In reply to Helmut Jarausch from comment #0) > > > ================================================================= > > > Package Settings > > > ================================================================= > > > > > > dev-db/mariadb-10.1.23::gentoo was built with the following: > > > USE="backup cracklib embedded extraengine latin1 openssl pam perl server xml > > > -bindist -debug -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc > > > -jemalloc -kerberos -libressl -mroonga -odbc -oqgraph -profiling (-selinux) > > > -sphinx -sst-rsync -sst-xtrabackup -static -static-libs -systemd -systemtap > > > -tcmalloc -test -tokudb -yassl" ABI_X86="(64) -32 (-x32)" > > > CFLAGS="-mtune=native -O2 -msse3 -pipe -fPIC -fno-strict-aliasing" > > > CXXFLAGS="-mtune=native -O2 -msse3 -pipe -fPIC -felide-constructors > > > -fno-strict-aliasing" > > > > Works for my gcc-6.3.0 test compile. Please try simpler CFLAGS. -fPIC > > should not be there, it is added as needed > > I don't know where the -fPIC comes from. I've removed it from > /etc/portage/make.conf > and I don't have /etc/portage/env/dev-db/mariadb > > I think it's setup by Gentoo's gcc installation. > > Could you post your (effective) CFLAGS and CXXFLAGS? > > Thanks, > Helmut My testing box builds like this (and i just retried it, some parts omitted for brevity): Portage 2.3.6 (python 3.4.6-final-0, default/linux/amd64/13.0, gcc-6.3.0, glibc-2.24-r1, 4.11.0-bcachefs+ x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.11.0-bcachefs+-x86_64-Intel_Celeron_4x0_-Conroe-Merom_Class_Core_2-with-gentoo-2.4.1 KiB Mem: 1001752 total, 31588 free KiB Swap: 3145724 total, 3138600 free sh bash 4.4_p12 ld GNU ld (Gentoo 2.28 p1.2) 2.28 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1-r2::gentoo dev-lang/python: 2.7.13::gentoo, 3.4.6::gentoo dev-util/cmake: 3.8.2::gentoo sys-apps/baselayout: 2.4.1::gentoo sys-apps/openrc: 0.27.2::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.69-r3::gentoo sys-devel/automake: 1.13.4-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.27::gentoo, 2.28-r2::gentoo sys-devel/gcc: 6.3.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.24-r1::gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-O2 -pipe" DISTDIR="/var/lib/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y --keep-going" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect -owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" ================================================================= Package Settings ================================================================= dev-db/mariadb-10.1.24::gentoo was built with the following: USE="backup cracklib embedded extraengine jemalloc latin1 openssl pam perl profiling server tokudb -bindist -debug -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -kerberos -libressl -mroonga -odbc -oqgraph (-selinux) -sphinx -sst-rsync -sst-xtrabackup -static -static-libs -systemd -systemtap -tcmalloc -test -xml -yassl" ABI_X86="(64) -32 (-x32)" CFLAGS="-O2 -pipe -g -fno-strict-aliasing" CXXFLAGS="-O2 -pipe -g -felide-constructors -fno-strict-aliasing" *** Bug 622674 has been marked as a duplicate of this bug. *** |