Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473358 (PR50099) - [ICE/ARM] app-arch/p7zip-9.20.1-r3 - ../../Archive/Iso/IsoHandler.cpp:128:1: error: unrecognizable insn: (insn 571 570 572 31 (set (subreg:SI (reg:DI 306 [ MEM[(const struct CDateTime *)D.17190_71 + 804B].GmtOffset ]) 0) [...]
Summary: [ICE/ARM] app-arch/p7zip-9.20.1-r3 - ../../Archive/Iso/IsoHandler.cpp:128:1: ...
Status: RESOLVED FIXED
Alias: PR50099
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR50099
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-15 11:09 UTC by Mikhail Kurinnoi
Modified: 2017-06-24 21:10 UTC (History)
2 users (show)

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


Attachments
p7zip-9.20.1-r3 build log (p7zip-9.20.1-r3.log,199.62 KB, text/plain)
2013-06-15 15:57 UTC, Mikhail Kurinnoi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kurinnoi 2013-06-15 11:09:43 UTC
Can't compile p7zip-9.20.1-r3 on my ARM box, on system compiled with default "stage3-armv7a_hardfp" settings and "default/linux/arm/13.0/armv7a/desktop" profile.


Final environment Use flags: -doc, -kde, -rar, -wxwidgets


armv7a-hardfloat-linux-gnueabi-g++ -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -I../../C -c -I. -I../../../myWindows -I../../../ -I../../../include_windows my_86_filter.cpp
armv7a-hardfloat-linux-gnueabi-g++ -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -I../../C  -o my_86_filter -Wl,-O1 -Wl,--as-needed my_86_filter.o -lpthread
make[1]: Leaving directory `/var/tmp/portage/app-arch/p7zip-9.20.1-r3/work/p7zip_9.20.1/check/my_86_filter'
make[1]: Leaving directory `/var/tmp/portage/app-arch/p7zip-9.20.1-r3/work/p7zip_9.20.1/CPP/7zip/Bundles/Alone7z'
 * ERROR: app-arch/p7zip-9.20.1-r3 failed (compile phase):
 *   emake failed


Reproducible: Always




Portage 2.1.12.2 (default/linux/arm/13.0/armv7a/desktop, gcc-4.6.3, glibc-2.15-r3, 3.0.8+ armv7l)
=================================================================
System uname: Linux-3.0.8+-armv7l-ARMv7_Processor_rev_0_-v7l-with-gentoo-2.2
KiB Mem:      969612 total,     24308 free
KiB Swap:   10239996 total,  10210944 free
Timestamp of tree: Thu, 13 Jun 2013 10:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa arm berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell sqlite ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvfb xvid zlib" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-15 14:14:01 UTC
Please attach the entire build log to this bug report.
Comment 2 Mikhail Kurinnoi 2013-06-15 15:57:19 UTC
Created attachment 351014 [details]
p7zip-9.20.1-r3 build log

Jeroen, I attached build log file by your request.
I also successfully install p7zip-9.13, and then p7zip-9.13-r3, can provide logs if you are interested.

Maybe, it is time for p7zip-9.13 get "arm" keyword?
p7zip-9.13 Keywords: alpha, amd64, ~arm, hppa, ia64, ppc, ppc64, sparc, x86

:-D
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-17 10:48:10 UTC
../../Archive/Iso/IsoHandler.cpp: In member function ‘virtual LONG NArchive::NIso::CHandler::GetArchiveProperty(PROPID, PROPVARIANT*)’:
../../Archive/Iso/IsoHandler.cpp:128:1: error: unrecognizable insn:
(insn 571 570 572 31 (set (subreg:SI (reg:DI 306 [ MEM[(const struct CDateTime *)D.17190_71 + 804B].GmtOffset ]) 0)
        (sign_extend:SI (mem/s:QI (plus:SI (reg/f:SI 156 [ D.17190 ])
                    (const_int 812 [0x32c])) [0 MEM[(const struct CDateTime *)D.17190_71 + 804B].GmtOffset+0 S1 A16]))) ../../Archive/Iso/IsoIn.h:121 -1
     (nil))
../../Archive/Iso/IsoHandler.cpp:128:1: internal compiler error: in extract_insn, at recog.c:2109
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[1]: *** [IsoHandler.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-arch/p7zip-9.20.1-r3/work/p7zip_9.20.1/CPP/7zip/Bundles/Format7zFree'
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2017-06-24 21:10:44 UTC
Fixed in gcc trunk Fri Sep 30 09:36:43 2011, meaning this is at least fixed since GCC 4.7.