Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537570 - dev-lang/erlang-17.4 - In file included from armv7a-hardfloat-linux-gnueabi/erl_pbifs.c:9: ../include/internal/gcc/ethr_dw_atomic.h:81:3: error: conflicting types for ‘ethr_native_dw_atomic_t’
Summary: dev-lang/erlang-17.4 - In file included from armv7a-hardfloat-linux-gnueabi/e...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
: 537568 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-24 16:56 UTC by Spekadyon
Modified: 2016-04-13 16:56 UTC (History)
0 users

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


Attachments
build.log.gz (build.log.gz,20.27 KB, application/gzip)
2015-01-24 16:58 UTC, Spekadyon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Spekadyon 2015-01-24 16:56:50 UTC
dev-lang/erlang-17.4 does not build on ~arm



Reproducible: Always

Steps to Reproduce:
1. emerge =dev-lang/erlang-17.4
Actual Results:  
In file included from ../include/internal/gcc/ethread.h:48:0,
                 from ../include/internal/ethread.h:368,
                 from beam/erl_threads.h:264,
                 from beam/erl_smp.h:27,
                 from beam/sys.h:434,
                 from beam/export.h:24,
                 from armv7a-hardfloat-linux-gnueabi/erl_pbifs.c:9:
../include/internal/gcc/ethr_dw_atomic.h:81:3: error: conflicting types for ‘ethr_native_dw_atomic_t’
 } ethr_native_dw_atomic_t;
   ^
...


# emerge --info
Portage 2.2.15 (python 3.3.5-final-0, default/linux/arm/13.0/armv7a, gcc-4.8.4, glibc-2.20-r1, 3.14.27+ armv7l)
=================================================================
System uname: Linux-3.14.27+-armv7l-with-gentoo-2.2
KiB Mem:     2069716 total,    241020 free
KiB Swap:    1572860 total,   1502348 free
Timestamp of tree: Fri, 23 Jan 2015 22:45:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.3_p33-r1
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/cmake:           3.1.0
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.14.1, 1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4, 4.9.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.5
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="*"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -fomit-frame-pointer"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs buildpkg compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo "
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.4/gentoo-portage"
USE="arm armv5te armv6 armv6t2 berkdb bzip2 caps cli cracklib crypt cxx dri gdbm iconv ipv6 modules ncurses neon nls nptl openmp pam pcre readline session ssl threads unicode vhosts 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" 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" 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 Spekadyon 2015-01-24 16:58:06 UTC
Created attachment 394780 [details]
build.log.gz
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-01-24 17:38:43 UTC
*** Bug 537568 has been marked as a duplicate of this bug. ***
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2015-02-01 11:21:36 UTC
Can you add --with-libatomic_ops=no to the configure call?
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2016-04-13 16:56:19 UTC
No response to question. If you still see similar problems with 17.5 or later, feel free to reopen.