Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414505 - www-client/firefox-12.0 pixman-bits-image.c:997:1: sorry, unimplemented: inlining failed in call to 'convert_r5g6b5'
Summary: www-client/firefox-12.0 pixman-bits-image.c:997:1: sorry, unimplemented: inli...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-05-03 19:19 UTC by Guillaume Horel
Modified: 2012-05-29 02:54 UTC (History)
2 users (show)

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


Attachments
compile log (www-client:firefox-12.0:20120501-204833.log.bz2,115.88 KB, application/x-bzip)
2012-05-03 19:25 UTC, Guillaume Horel
Details
firefox-12-noinline.patch (firefox-12-noinline.patch,548 bytes, patch)
2012-05-03 19:46 UTC, Guillaume Horel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Horel 2012-05-03 19:19:46 UTC
This error is in the pixman libary which is part of cairo. I have noticed that the ebuild doesn't use the system cairo anymore, which explains why firefox-12 fails to compile, whereas firefox-11 doesn't have the issue. If I remove the force_inline keyword in front of 'convert_r5g6b5', it compiles fine (patch is attached).

Reproducible: Always
Comment 1 Guillaume Horel 2012-05-03 19:25:12 UTC
Created attachment 310701 [details]
compile log
Comment 2 Guillaume Horel 2012-05-03 19:27:43 UTC
Portage 2.2.0_alpha101 (default/linux/x86/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r1, 3.3.0-gentoo i686)
=================================================================
System uname: Linux-3.3.0-gentoo-i686-Intel-R-_Pentium-R-_CPU_P6000_@_1.87GHz-with-gentoo-2.1
Timestamp of tree: Thu, 03 May 2012 18:00:01 +0000
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p28
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.15-r1
Repositories: gentoo java-overlay x11 multimedia science sunrise thrasibule gsoc-maven-overlay
Installed sets: @kdebase-4.8
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.3 skype-eula googleearth google-talkplugin Oracle-BCLA-JavaSE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr"
MAKEOPTS="-j1"
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="/var/lib/layman/java-overlay /var/lib/layman/x11 /var/lib/layman/multimedia /var/lib/layman/science /var/lib/layman/sunrise /home/guillaume/projects/thrasibule-overlay /var/lib/layman/gsoc-maven-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups custom-optimization cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify lm_sensors lzma mad mmx mng modules mp3 mp4 mpeg mudflap musicbrainz ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd pulseaudio qt3support qt4 readline sdl semantic-desktop session spell sse sse2 sse3 ssl startup-notification svg sysfs system-sqlite tcpd tiff truetype udev unicode usb vorbis wxwidgets x264 x86 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel i965" 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 3 Guillaume Horel 2012-05-03 19:46:32 UTC
Created attachment 310705 [details, diff]
firefox-12-noinline.patch
Comment 4 Jory A. Pratt gentoo-dev 2012-05-07 01:58:46 UTC
I am unable to duplicate this on my system or any other try server for x86 builds of linux.
Comment 5 ninuje 2012-05-25 21:13:12 UTC
Also fails here (in the exact same way) with USE=pgo (~x86, GCC 4.6.3).

Switching to a non pgo build works around the issue.
Comment 6 Ostashevskyi Viktor 2012-05-27 18:25:54 UTC
Same problem:

/var/tmp/portage/www-client/firefox-12.0-r1/work/mozilla-release/gfx/cairo/libpixman/src/pixman-bits-image.c: In function 'bits_image_fetch_bilinear_affine_none_r5g6b5':
/var/tmp/portage/www-client/firefox-12.0-r1/work/mozilla-release/gfx/cairo/libpixman/src/pixman-bits-image.c:997:1: sorry, unimplemented: inlining failed in call to 'convert_r5g6b5': function not considered for inlining
/var/tmp/portage/www-client/firefox-12.0-r1/work/mozilla-release/gfx/cairo/libpixman/src/pixman-bits-image.c:894:22: sorry, unimplemented: called from here
make[7]: *** [pixman-bits-image.i_o] Er


gcc 4.6.3, USE="alsa custom-cflags custom-optimization ipc jit%* minimal pgo system-sqlite webm"
Comment 7 Andrew Savchenko gentoo-dev 2012-05-28 15:52:01 UTC
Same here:

/var/tmp/portage/www-client/firefox-12.0-r1/work/mozilla-release/gfx/cairo/libpixman/src/pixman-bits-image.c: In function 'bits_image_fetch_bilinear_affine_none_r5g6b5':
/var/tmp/portage/www-client/firefox-12.0-r1/work/mozilla-release/gfx/cairo/libpixman/src/pixman-bits-image.c:997:1: sorry, unimplemented: inlining failed in call to 'convert_r5g6b5': function not considered for inlining
/var/tmp/portage/www-client/firefox-12.0-r1/work/mozilla-release/gfx/cairo/libpixman/src/pixman-bits-image.c:894:22: sorry, unimplemented: called from here
distcc[23722] ERROR: compile /var/tmp/portage/www-client/firefox-12.0-r1/work/mozilla-release/gfx/cairo/libpixman/src/pixman-bits-image.c on localhost failed
make[7]: *** [pixman-bits-image.i_o] Error 1

gcc-4.6.3, USE="alsa bindist crashreporter custom-cflags custom-optimization dbus ipc libnotify linguas_ja linguas_ru minimal pgo startup-notification webm wifi"

It compiles with gcc-4.5.3.
Comment 8 Jory A. Pratt gentoo-dev 2012-05-29 01:18:52 UTC
fx-12.0-r2 moves back to using system cairo test and report your results, also a side not: pgo useflag will be package.use.masked until we have more time to dedicate to working out all the kinks.
Comment 9 ninuje 2012-05-29 02:45:54 UTC
(In reply to comment #8)
> fx-12.0-r2 moves back to using system cairo test and report your results,
> also a side not: pgo useflag will be package.use.masked until we have more
> time to dedicate to working out all the kinks.

12-0-r2 emerged just fine with use pgo ;).
Comment 10 Jory A. Pratt gentoo-dev 2012-05-29 02:54:51 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > fx-12.0-r2 moves back to using system cairo test and report your results,
> > also a side not: pgo useflag will be package.use.masked until we have more
> > time to dedicate to working out all the kinks.
> 
> 12-0-r2 emerged just fine with use pgo ;).

Closing resolved fixed. if you can reproduce later feel free to reopen.