armv6j-hardfp portage # emerge -pvq mail-client/thunderbird [ebuild U ] mail-client/thunderbird-38.0.1-r1 [31.7.0] USE="jit minimal startup-notification system-cairo system-jpeg system-sqlite -bindist -crypt -custom-cflags -custom-optimization -dbus -debug -gstreamer (-hardened) -jemalloc3% -ldap -mozdom -pulseaudio (-selinux) -system-icu -system-libvpx* (-lightning%)" LINGUAS="-ar -ast -be -bg -bn_BD -br -ca -cs -da -de -el -en_GB -es_AR -es_ES -et -eu -fi -fr -fy_NL -ga_IE -gd -gl -he -hr -hu -hy_AM -id -is -it -ja -ko -lt -nb_NO -nl -nn_NO -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv_SE -ta_LK -tr -uk -vi -zh_CN -zh_TW" armv6j-hardfp ~ # emerge --info mail-client/thunderbird Portage 2.2.18 (python 3.3.5-final-0, default/linux/arm/13.0/armv6j, gcc-4.8.4, glibc-2.20-r2, 3.18.9-hardened armv7l) ================================================================= System Settings ================================================================= System uname: Linux-3.18.9-hardened-armv7l-with-gentoo-2.2 KiB Mem: 49456768 total, 9449780 free KiB Swap: 52428796 total, 52428796 free Timestamp of repository gentoo: Wed, 24 Jun 2015 06:00:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 distcc 3.1 armv6j-hardfloat-linux-gnueabi [disabled] app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo dev-util/cmake: 2.8.12.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.16.4::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 Installed sets: @archive, @base-system, @desktop-applications, @development-cli, @development-gui, @java, @lxqt, @network-manager, @portage, @qt, @vcs ACCEPT_KEYWORDS="arm" ACCEPT_LICENSE="* -@EULA" CBUILD="armv6j-hardfloat-linux-gnueabi" CFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard" CHOST="armv6j-hardfloat-linux-gnueabi" CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/config /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="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --jobs --keep-going --newuse --deep --backtrack=3000 --complete-graph --with-bdeps=y" FCFLAGS="-O2 -pipe -march=armv6j" FEATURES="assume-digests binpkg-logs buildpkg clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=armv6j" GENTOO_MIRRORS="http://distfiles.gentoo.org http://mirrors.rit.edu/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.mirrors.hoobly.com/ http://gentoo.netnitco.net" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j30" PKGDIR="/usr/portage-packages" PORTAGE_COMPRESS="xz" 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" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa apng arm autoipd avahi berkdb bindist branding bzip2 cairo cdda cdr clang cli cracklib crypt cxx dbus dconf dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gcj gd gdbm gif gnome-keyring gpm gstreamer gtk gudev iconv icu ipv6 jpeg lcms libnotify libsecret mad mdnsresponder-compat minizip mng modules mp3 mp4 mpeg ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt4 qt5 readline samba sdl session sound spell sqlite ssl startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb vorbis wifi xattr xcb xinerama xml xv xvid zeroconf 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 ublox ubx" GRUB_PLATFORMS="coreboot efi-32 efi-64 emu qemu pc" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm aarch64 i386 x86_64" QEMU_USER_TARGETS="arm aarch64 i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="modesetting 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= mail-client/thunderbird-31.7.0::gentoo was built with the following: USE="jit minimal startup-notification system-cairo system-jpeg system-libvpx system-sqlite -bindist -crypt -custom-cflags -custom-optimization -dbus -debug -gstreamer (-hardened) -ldap -lightning -mozdom -pulseaudio (-selinux) -system-icu" LINGUAS="-ar -ast -be -bg -bn_BD -br -ca -cs -da -de -el -en_GB -es_AR -es_ES -et -eu -fi -fr -fy_NL -ga_IE -gd -gl -he -hr -hu -hy_AM -id -is -it -ja -ko -lt -nb_NO -nl -nn_NO -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv_SE -ta_LK -tr -uk -vi -zh_CN -zh_TW" CFLAGS="-pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -Wno-return-type -w" CXXFLAGS="-pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -Wno-return-type -w" armv6j-hardfp ~ # Reproducible: Always
Created attachment 405818 [details] build.log.gz
server-blade-one armv6j-hardfp # zcat var/tmp/portage/mail-client/thunderbird-38.0.1-r1/temp/build.log.gz | grep "fatal error" /usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory
Building like this works for me with 38.1.0: CFLAGS="-D__ARM_PCS_VFP" emerge -a1 thunderbird armv7a, hardfloat.
is this issue just with hardfloat? Also, is this issue just with thunderbird or does firefox-38 suffer the same issue? (i assume it would)
(In reply to Ian Stakenvicius from comment #4) > is this issue just with hardfloat? Also, is this issue just with > thunderbird or does firefox-38 suffer the same issue? (i assume it would) Firefox already has arm fixes in the ebuild, they should have been ported to thunderbird. I drop'd the ball on that one.
if use neon ; then mozconfig_annotate '' --with-fpu=neon mozconfig_annotate '' --with-thumb=yes mozconfig_annotate '' --with-thumb-interwork=no fi if [[ ${CHOST} == armv* ]] ; then mozconfig_annotate '' --with-float-abi=hard mozconfig_annotate '' --enable-skia if ! use system-libvpx ; then sed -i -e "s|softfp|hard|" \ "${S}"/media/libvpx/moz.build fi fi
(In reply to Jory A. Pratt from comment #6) > if use neon ; then > mozconfig_annotate '' --with-fpu=neon > mozconfig_annotate '' --with-thumb=yes > mozconfig_annotate '' --with-thumb-interwork=no > fi > > if [[ ${CHOST} == armv* ]] ; then > mozconfig_annotate '' --with-float-abi=hard > mozconfig_annotate '' --enable-skia > > if ! use system-libvpx ; then > sed -i -e "s|softfp|hard|" \ > "${S}"/media/libvpx/moz.build > fi > fi Any issues with this going into the appropriate mozconfig eclass? Seems like it will apply to any mozilla build...
(In reply to Ian Stakenvicius from comment #7) > (In reply to Jory A. Pratt from comment #6) > > if use neon ; then > > mozconfig_annotate '' --with-fpu=neon > > mozconfig_annotate '' --with-thumb=yes > > mozconfig_annotate '' --with-thumb-interwork=no > > fi > > > > if [[ ${CHOST} == armv* ]] ; then > > mozconfig_annotate '' --with-float-abi=hard > > mozconfig_annotate '' --enable-skia > > > > if ! use system-libvpx ; then > > sed -i -e "s|softfp|hard|" \ > > "${S}"/media/libvpx/moz.build > > fi > > fi > > Any issues with this going into the appropriate mozconfig eclass? Seems > like it will apply to any mozilla build... nope none at all. I would actually encourage it.
Also failing on armv7a-hardfp :-)
Created attachment 409322 [details] armv7a-build.log.gz armv7a-hardfp ~ # emerge -pvq thunderbird ; emerge --info thunderbird [ebuild U ] mail-client/thunderbird-38.2.0 [31.8.0] USE="jit minimal startup-notification system-cairo system-jpeg system-sqlite -bindist -crypt -custom-cflags -custom-optimization -dbus -debug -gstreamer -gstreamer-0% (-hardened) -jemalloc3% -ldap -lightning -mozdom -pulseaudio (-selinux) -system-icu -system-libvpx" LINGUAS="-ar -ast -be -bg -bn_BD -br -ca -cs -cy% -da -de -el -en_GB -es_AR -es_ES -et -eu -fi -fr -fy_NL -ga_IE -gd -gl -he -hr -hsb% -hu -hy_AM -id -is -it -ja -ko -lt -nb_NO -nl -nn_NO -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv_SE -ta_LK -tr -uk -vi -zh_CN -zh_TW" Portage 2.2.20.1 (python 3.4.1-final-0, default/linux/arm/13.0/armv7a, gcc-4.8.4, glibc-2.20-r2, 4.1.4-hardened armv7l) ================================================================= System Settings ================================================================= System uname: Linux-4.1.4-hardened-armv7l-with-gentoo-2.2 KiB Mem: 49456296 total, 19615636 free KiB Swap: 52428796 total, 52423332 free Timestamp of repository gentoo: Mon, 17 Aug 2015 19:00:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 distcc 3.1 armv7a-hardfloat-linux-gnueabi [disabled] app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo dev-util/cmake: 2.8.12.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 Installed sets: @archive, @base-system, @desktop-applications, @development-cli, @development-gui, @java, @lxde, @network-manager, @portage, @qt, @vcs 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 /usr/lib/libreoffice/program/sofficerc /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="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --jobs --keep-going --newuse --deep --backtrack=3000 --complete-graph --with-bdeps=y" FCFLAGS="-O2 -pipe -march=armv7-a" FEATURES="assume-digests binpkg-logs buildpkg clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=armv7-a" GENTOO_MIRRORS="http://distfiles.gentoo.org http://mirrors.rit.edu/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.mirrors.hoobly.com/ http://gentoo.netnitco.net" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j30" PKGDIR="/usr/portage-packages" PORTAGE_COMPRESS="xz" 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" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa apng arm armv5te armv6 armv6t2 autoipd avahi berkdb bindist branding bzip2 cairo cdda cdr clang cli cracklib crypt cxx dbus dconf dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gd gdbm gif gnome-keyring gpm gstreamer gtk gudev iconv icu ipv6 jpeg lcms libnotify libsecret mad mdnsresponder-compat minizip mng modules mp3 mp4 mpeg ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt4 qt5 readline samba sdl session sound spell sqlite ssl startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb vorbis wifi xattr xcb xinerama xml xv xvid zeroconf 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 ublox ubx" GRUB_PLATFORMS="coreboot efi-32 efi-64 emu qemu pc" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm aarch64 i386 x86_64" QEMU_USER_TARGETS="arm aarch64 i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="modesetting 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= mail-client/thunderbird-31.8.0::gentoo was built with the following: USE="jit minimal startup-notification system-cairo system-jpeg system-sqlite -bindist -crypt -custom-cflags -custom-optimization -dbus -debug -gstreamer (-hardened) -ldap -lightning -mozdom -pulseaudio (-selinux) -system-icu -system-libvpx" LINGUAS="-ar -ast -be -bg -bn_BD -br -ca -cs -da -de -el -en_GB -es_AR -es_ES -et -eu -fi -fr -fy_NL -ga_IE -gd -gl -he -hr -hu -hy_AM -id -is -it -ja -ko -lt -nb_NO -nl -nn_NO -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv_SE -ta_LK -tr -uk -vi -zh_CN -zh_TW" CFLAGS="-pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wno-return-type -w" CXXFLAGS="-pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wno-return-type -w"
Still happens on thunderbird-38.4.0, both armv6j and armv7a
Easy work around : gnu/stubs-soft.h: No such file or directory is trying to include a file because __ARM_PCS_VFP is not set in /usr/include/gnu/stubs.h You can cheat it into including stubs-hard.h instead of stubs-soft.h until a permanent fix is done. I find it strange that stubs-soft.h is actually available in that automatically generated header. equery b /usr/include/gnu/stubs.h belongs to: sys-libs/glibc-2.21-r1 (/usr/include/gnu/stubs.h) toolchain issue ? Let's see how far I can keep going with the cheat...
I migrated the configure options out of firefox and into the mozconfig eclasses today. Thunderbird and seamonkey should how have IUSE="neon" and should build properly.
Hrmm... I'm trying to build with only -mfpu=vfp. I don't have access to neon instructions. Has mozilla dropped support for non neon entirely?
Hi, Sorry to change the bug status, but I wasn't sure how to ask otherwise. Has Mozilla dropped support for ARM platforms that don't support NEON? If not, is there anything I can do to get it to build on my platform?
I suspect this issue is related to #602440
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system. Thank You for your support and understanding The Mozilla Team