Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679140 - sys-process/criu-3.6: compel/include/uapi/compel/asm/fpu.h:89:1: error: alignment 1 of ‘struct xsave_struct_ia32’ is less than 16 [-Werror=packed-not-aligned]
Summary: sys-process/criu-3.6: compel/include/uapi/compel/asm/fpu.h:89:1: error: align...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-01 11:00 UTC by Thomas Beutin
Modified: 2019-03-02 09:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (criu-3.6-build.log,204.01 KB, text/plain)
2019-03-01 11:00 UTC, Thomas Beutin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Beutin 2019-03-01 11:00:10 UTC
Note: Building without ia32 C/R, missed ia32 support in gcc
      That may be related to missing gcc-multilib in your
      distribution or you may have Debian with buggy toolchain
      (issue https://github.com/xemul/criu/issues/315)
make[1]: Nothing to be done for 'all'.
make[1]: 'compel/plugins/std.lib.a' is up to date.
  INSTALL  criu.8
make[1]: 'soccr/libsoccr.a' is up to date.
  INSTALL  crit.1
make[1]: 'compel/plugins/fds.lib.a' is up to date.
make[1]: 'compel/libcompel.a' is up to date.
  LINK     compel/libcompel.so
make[1]: 'compel/compel-host-bin' is up to date.
  CC       compel/arch/x86/src/lib/handle-elf.o
  CC       compel/src/lib/handle-elf.o
  CC       compel/src/main.o
In file included from compel/include/uapi/compel/asm/sigframe.h:7,
                 from compel/include/uapi/compel/infect.h:6,
                 from compel/include/uapi/compel.h:12,
                 from compel/arch/x86/src/lib/handle-elf.c:3:
compel/include/uapi/compel/asm/fpu.h:89:1: error: alignment 1 of ‘struct xsave_struct_ia32’ is less than 16 [-Werror=packed-not-aligned]
 } __packed;
 ^
In file included from compel/include/uapi/compel/asm/sigframe.h:7,
                 from compel/include/uapi/compel/infect.h:6,
                 from compel/include/uapi/compel.h:12,
                 from compel/src/lib/handle-elf.c:15:
compel/include/uapi/compel/asm/fpu.h:89:1: error: alignment 1 of ‘struct xsave_struct_ia32’ is less than 16 [-Werror=packed-not-aligned]
 } __packed;
 ^
cc1: all warnings being treated as errors
make[1]: *** [/mnt/gentoo/tmp/portage/sys-process/criu-3.6/work/criu-3.6/scripts/nmk/scripts/build.mk:209: compel/arch/x86/src/lib/handle-elf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from compel/include/uapi/compel/asm/sigframe.h:7,
                 from compel/include/uapi/compel/infect.h:6,
                 from compel/include/uapi/compel/compel.h:12,
                 from compel/src/main.c:16:
compel/include/uapi/compel/asm/fpu.h:89:1: error: alignment 1 of ‘struct xsave_struct_ia32’ is less than 16 [-Werror=packed-not-aligned]
 } __packed;
 ^
cc1: all warnings being treated as errors
make[1]: *** [/mnt/gentoo/tmp/portage/sys-process/criu-3.6/work/criu-3.6/scripts/nmk/scripts/build.mk:209: compel/src/main.o] Error 1
cc1: all warnings being treated as errors
make[1]: *** [/mnt/gentoo/tmp/portage/sys-process/criu-3.6/work/criu-3.6/scripts/nmk/scripts/build.mk:209: compel/src/lib/handle-elf.o] Error 1
make: *** [Makefile.compel:36: compel/built-in.o] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Nothing to be done for 'all'.

# emerge --info '=sys-process/criu-3.6::gentoo'
Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-8.2.0, glibc-2.27-r6, 4.20.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.20.12-gentoo-x86_64-Intel_Xeon_E312xx_-Sandy_Bridge-with-gentoo-2.6
KiB Mem:    48042796 total,  41891372 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Sun, 24 Feb 2019 01:15:01 +0000
Head commit of repository gentoo: f52b8e80566cb783ec05e419c11a1b604b645399
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

barzog-overlay
    location: /var/lib/layman/barzog-overlay
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50

python
    location: /var/lib/layman/python
    masters: gentoo
    priority: 50

rion
    location: /var/lib/layman/rion
    masters: gentoo
    priority: 50                                                                                                                                                                                                                      [0/1959]

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

seden
    location: /var/lib/layman/seden
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/gnupg/qualified.txt /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi
-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.2/ext-active/ /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 /var/spool/fax/e
tc/xferfaxlog"
CXXFLAGS="-march=sandybridge -fomit-frame-pointer -O2 -pipe"
DISTDIR="/mnt/gentoo/distfiles/"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 buildpkg 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-log
s unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/lib/systemd/"
LANG="en_IE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en en_US de_DE de"
MAKEOPTS="-j28"
PKGDIR="/mnt/gentoo/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=/.gi
t"
PORTAGE_TMPDIR="/mnt/gentoo/tmp"
USE="R X X509 a52 aac aalib accounting acl acpi adns aim aio alsa amd64 amr ansi ao aot apache2 apng applet archive ass audio audiofile automount avahi avx awt bacula-console bash-completion bazaar bcmath berkdb bidi bind-mysql bittorrent
 blas bluetooth bluray bonobo boost bzip2 cacert cairo caja calendar caps ccache cdb cdda cddb cdio cdparanoia cdr cgi chipcard chroot clang colord command-args consolekit corefonts cpudetection cpulimit cracklib cramfs crypt cscope css c
sv ctype cups curl curlwrappers customlog cvs cvsgraph cxx cyrus dba dbi dbm dbus dbx devhelp device-mapper devmap dga dhcp dirac directfb djvu dlna dlopen dnsdb dri dri3 drm dts dv dvb dvd dvdr dvi ecc egl enchant encode excel exif expat
 faad fam fastcgi fat fdk ffmpeg fftw fits flac flash flatfile fltk fontconfig fonts fpx ftp fuse fusefs gallium gd gdal gdbm gdu geoip geos ggi gif gimp ginac git glib glpk glut gmp gnome-keyring gnuplot gpg gphoto2 graphviz gs gsf gsl g
sm gssapi gstreamer gtk gtk2 gtk3 gudev gzip h323 hardened hardenedphp hddtemp hdf5 hdri highlight hpn html http hunspell hwdb iconv icq icu idea idled idn imagemagick imap imlib imlib2 inifile innodb int64 introspection ios ipalias ipc i
pod ipv6 iso jabber jack java javascript jbig jingle jit jpeg jpeg2k json kdrive kerberos keymap kmod kpathsea lame lapack latex lcms ldap less libass libcaca libcerf libcxx libnotify libsamplerate libv4l libv4l2 libwww live llvm lm_senso
rs lmtp logrotate logwatch lua lz4 lzma lzo mad magic matroska mbox mcal md5sum memlimit mercurial metis mgetty mhash midi milter mime mimencode ming mmap mms mmx mmxext mng mp3 mp4 mpeg mplayer msn mtp multilib mumps musepack musicbrainz
 mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh natspec ncurses net netboot netcdf netlink network network-uri networkmanager nfs nis nls nntp nptl nsplugin nss ntfs ntp oav ocaml ocamlopt ocatve octave odbc offensi
ve ogg openal openexr opengl openh264 openmp openrc openssh openssl orc ortp osc oscar pam pam_chroot pam_console pam_timestamp pango parse-clocks pcf pci pcntl pcre pda pdf pdfkit pdflib perl pgo php pic plotutils png policykit portaudio
 posix postfix postgis postgres postproc postscript ppds procmail ps pulseaudio pwdb python qdbm qt5 quotas quvi radius raw rdesktop rdp readline recode reiserfs rpc rrdtool rss rtmp ruby samba sample sasl scanner schroedinger scotch scre
en sendfile sensord session sftp sftplogging shaper shared sharedext shorten sieve simplexml slang slp smartcard smime smp sms smtp sna sndfile snmp snortsam soap sockets socks5 sound sox spamassassin sparse spatialite speex spell spice s
pl split-usr sql sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 ssh ssl ssse3 stream subversion svg sysfs syslog sysvipc szip t1lib taglib tcpd telepathy test-programs theora threads tidy tiff timidity tokenizer tools transparent-proxy truetype
 truetype-fonts tslib twolame type1-fonts udev udisks unicode upnp upnp-av upower usb userlocales utf8 uuid v4l vaapi vala vcd vdpau vhosts video vim-syntax virtual-users virus-scan vnc vorbis vpx vte wayland wddx weather webdav webkit we
bm webp wifi win32codecs withsamplescripts wmf x264 x265 xattr xcb xcomposite xetex xface xfs xft xinerama xinetd xml xml2 xmlrpc xmp xmpp xorg xosd xpdf-headers xpm xps xrandr xscreensaver xsl xslt xv xvfb xvid xvmc xz yahoo yaml yaz zli
b zvbi" ABI_X86="32 64" APACHE2_MODULES="access auth auth_basic auth_digest authn_default authn_core authn_file authn_dbm authn_dbd authn_alias authn_anon authz_core authz_groupfile authz_host authz_user authz_dbd authz_dbm authz_owner au
thz_default dbd ident imagemap alias echo charset_lite cache file_cache disk_cache mem_cache ext_filter case_filter case-filter-in deflate filter mime_magic cern_meta proxy proxy_connect proxy_ftp http2 proxy_html proxy_http proxy_ajp pro
xy_balancer proxy_fcgi proxy_wstunnel expires headers usertrack info include cgi cgid dav dav_lock dav_fs vhost_alias speling rewrite log_config logio env setenvif mime status substitute autoindex asis negotiation dir imap actions userdir
 so unique_id version dumpio log_forensic reqtimeout socache_shmcb unixd slotmem_shm ratelimit remoteip lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat xml2enc brotli watchdog" APACHE2_MPMS="worker" CPU_FLAGS
_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="cws2fws ffhash pktdumper sidxindex qt-faststart aviocat ismindex" GPSD_PROTOCOLS="aivdm sirf mtk3301 gpsclock superstar2 timing n
mea" GRUB_PLATFORMS="pc multiboot efi coreboot efi-64" INPUT_DEVICES="keyboard mouse evdev wacom synaptics" KERNEL="linux" L10N="en_GB en en_US de_DE de" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport wi
ki-publisher" LLVM_TARGETS="X86 NVPTX" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-2" POSTGRES_TARGETS="postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" 
QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby23 ruby24" SANE_BACKENDS="net hp" USERLAND="GNU" VIDEO_CARDS="vga intel i915 i965 fbdev vesa" XFCE_PLUGINS="clock multiload-nandhp power trash"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

sys-process/criu-3.6::gentoo was built with the following:
USE="python setproctitle (-selinux) -static-libs" ABI_X86="(64)" PYTHON_TARGETS="python2_7"
Comment 1 Thomas Beutin 2019-03-01 11:00:53 UTC
Created attachment 567216 [details]
build.log
Comment 2 Larry the Git Cow gentoo-dev 2019-03-02 09:57:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75a2b2b36067e3dc0dbd999f6a886d4999884072

commit 75a2b2b36067e3dc0dbd999f6a886d4999884072
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-03-02 09:56:48 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-03-02 09:57:05 +0000

    sys-process/criu: disable -Werror, bug #679140
    
    gcc-8 detected new warnings and broke the build:
      compel/include/uapi/compel/asm/fpu.h:89:1: error:
        alignment 1 of ‘struct xsave_struct_ia32’ is less than 16
          [-Werror=packed-not-aligned]
    
    The change disables -Werror as we do in unstable ebuilds.
    
    Reported-by: Thomas Beutin
    Closes: https://bugs.gentoo.org/679140
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-process/criu/criu-3.6.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)