Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297630 - >=x11-libs/libdrm-2.4.15 breaks on ARM if dev-libs/libatomic_ops is installed
Summary: >=x11-libs/libdrm-2.4.15 breaks on ARM if dev-libs/libatomic_ops is installed
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on: 317083
Blocks:
  Show dependency tree
 
Reported: 2009-12-20 12:36 UTC by Raúl Porcel (RETIRED)
Modified: 2015-09-05 07:11 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,20.19 KB, text/plain)
2009-12-20 12:37 UTC, Raúl Porcel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl Porcel (RETIRED) gentoo-dev 2009-12-20 12:36:03 UTC
Doesn't happen with 2.4.13. Full log attached


libtool: compile:  armv5tel-softfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../libdrm -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I../../libdrm -I../../libdrm/intel -I../../shared-core -Os -march=armv5te -pipe -MT intel_bufmgr_gem.lo -MD -MP -MF .deps/intel_bufmgr_gem.Tpo -c intel_bufmgr_gem.c  -fPIC -DPIC -o .libs/intel_bufmgr_gem.o
intel_bufmgr_gem.c: In function 'drm_intel_gem_bo_reference':
intel_bufmgr_gem.c:312: error: implicit declaration of function 'AO_fetch_and_add1_full'
intel_bufmgr_gem.c:312: warning: nested extern declaration of 'AO_fetch_and_add1_full'
intel_bufmgr_gem.c: In function 'drm_intel_gem_bo_unreference_locked':
intel_bufmgr_gem.c:759: error: implicit declaration of function 'AO_fetch_and_sub1_full'
intel_bufmgr_gem.c:759: warning: nested extern declaration of 'AO_fetch_and_sub1_full'
make[3]: *** [intel_bufmgr_gem.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/intel_bufmgr_fake.Tpo .deps/intel_bufmgr_fake.Plo
make[3]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/libdrm/intel'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/libdrm'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.15/work/libdrm-2.4.15/libdrm'
make: *** [all-recursive] Error 1

Portage 2.1.6.13 (default/linux/arm/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31.5 armv5tel)
=================================================================
System uname: Linux-2.6.31.5-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-1.12.13
Timestamp of tree: Sun, 20 Dec 2009 02:00:02 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.5.4-r3, 2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="arm"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-Os -march=armv5te -pipe"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.dei.uc.pt/pub/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://darkstar.ist.utl.pt/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--prune-empty-dirs"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://boobie.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa arm berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dts dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 jpeg mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis xml xorg xulrunner xv xvid zlib" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident 	voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2009-12-20 12:37:45 UTC
Created attachment 213549 [details]
build.log
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2010-01-07 18:06:31 UTC
pingo :)
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2010-01-12 21:10:41 UTC
I've disabled intel build on arm, we definitely don't want it.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2010-01-19 21:16:23 UTC
Any changes done in portage need to be forwarded to the overlay if you don't want them to come back after a few weeks.

Keeping open until fixed in the overlay as well.

Thanks
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-02-03 00:32:40 UTC
I committed a slightly adapted version to the x11 overlay, with
CONFIGURE_OPTIONS="--enable-udev --enable-nouveau-experimental-api $(use_enable !arm intel) $(use_enable !arm radeon)"
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2010-02-03 11:30:04 UTC
And i redesigned it to not run use calls in global scope so fixed. :]
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-25 07:45:52 UTC
Reopening as this is not fixed, only worked around.
Comment 8 Kevin Bowling 2011-01-30 17:12:50 UTC
(In reply to comment #7)
> Reopening as this is not fixed, only worked around.
> 

353240 may be relevant.