Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333041 - x11-libs/libdrm-2.4.20-r1: radeon_cs_gem.c:261: error: implicit declaration of function 'AO_fetch_and_add_full'
Summary: x11-libs/libdrm-2.4.20-r1: radeon_cs_gem.c:261: error: implicit declaration o...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current 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: 2010-08-16 17:34 UTC by Jacob Godserv
Modified: 2013-07-27 19:22 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,42.23 KB, text/plain)
2010-08-16 17:35 UTC, Jacob Godserv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Godserv 2010-08-16 17:34:43 UTC
Failed to compile. The last bits of the build log here:

libtool: compile:  armv7a-unknown-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arit
h -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.. -I../radeon -I../include/drm -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fomit-frame-pointer -Os -MT radeon_cs_gem.lo -MD -MP -MF .deps/radeon_cs_gem.Tpo -c radeon_cs_gem.c  -fPIC -DPIC -o .libs/radeon_cs_gem.o
radeon_cs_gem.c: In function 'cs_gem_write_reloc':
radeon_cs_gem.c:261: error: implicit declaration of function 'AO_fetch_and_add_full'
radeon_cs_gem.c:261: warning: nested extern declaration of 'AO_fetch_and_add_full'
radeon_cs_gem.c: In function 'radeon_get_device_id':
radeon_cs_gem.c:431: warning: assignment makes integer from pointer without a cast
make[2]: *** [radeon_cs_gem.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.20-r1/work/libdrm-2.4.20/radeon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.20-r1/work/libdrm-2.4.20'
make: *** [all] Error 2

Reproducible: Always

Steps to Reproduce:
1. emerge '=x11-libs/libdrm-2.4.20-r1'



Portage 2.2_rc67 (!/usr/local/portage/layman/neuvoo/profiles/neuvoo/images/0.3.0/touchbook, gcc-4.3.4, glibc-2.10.1-r1, 2.6.34 armv7l)
=================================================================
System uname: Linux-2.6.34-armv7l-ARMv7_Processor_rev_2_-v7l-with-gentoo-2.0.1
Timestamp of tree: Mon, 16 Aug 2010 01:45:03 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-unknown-linux-gnueabi"
CFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fomit-frame-pointer -Os"
CHOST="armv7a-unknown-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/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fomit-frame-pointer -ftree-vectorize"
DISTDIR="/tmp/distdir"
EMERGE_DEFAULT_OPTS="--binpkg-respect-use y"
FEATURES="assume-digests distlocks fixpackages hooks news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/binpkgs"
PORTAGE_CONFIGROOT="/"
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/layman/neuvoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa arm avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus dts dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 jpeg lame lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mplayer mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection samba sdl session sndfile spell spl ssl startup-notification svg sysfs syslog tcpd theora tiff truetype tslib unicode usb vorbis wifi xcb xml xorg xpm xulrunner xv xvid zeroconf 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev tslib" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="omapfb 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jacob Godserv 2010-08-16 17:35:07 UTC
Created attachment 243255 [details]
build.log
Comment 2 Jacob Godserv 2010-08-16 20:39:05 UTC
I'm thinking ARM should be here too. Feel free to un-CC if you disagree.
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2010-11-21 12:00:10 UTC
I'm unable to reproduce...its pretty much like 297630, but with radeon instead of intel.

My configure however ends different, and i'm not sure why...

checking for LIBUDEV... yes
checking for native atomic primitives... Intel
configure: creating ./config.status
config.status: creating Makefile

@x11 can you shed some light, please? I have no time to debug this, and i have no clue why in my case the configure is different
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-11-21 23:33:09 UTC
This is due to libatomic_ops which causes build failures on ARM (bug 317083).

Up to now only libdrm_intel and xf86-video-intel had a problem with that, but it can potentially affect any user of libatomic_ops.
Comment 5 Matt Turner gentoo-dev 2012-03-14 17:22:31 UTC
Does this happen with =dev-libs/libatomic_ops-7.2_alpha4?