Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282393 - cross-i686-pc-linux-gnu/gcc-4.3.4 fails to build with extra java flags
Summary: cross-i686-pc-linux-gnu/gcc-4.3.4 fails to build with extra java flags
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-23 03:10 UTC by Robert Maynard
Modified: 2009-08-26 20:29 UTC (History)
0 users

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


Attachments
build.log (build.log1,826.30 KB, text/plain)
2009-08-23 03:16 UTC, Robert Maynard
Details
cross-i686-pc-linux-gnu-gcc-extra.log (cross-i686-pc-linux-gnu-gcc-extra.log1,803.21 KB, text/plain)
2009-08-23 03:17 UTC, Robert Maynard
Details
cross-i686-pc-linux-gnu-info.log (cross-i686-pc-linux-gnu-info.log,10.99 KB, text/plain)
2009-08-23 03:17 UTC, Robert Maynard
Details
environment (environment,193.34 KB, text/plain)
2009-08-23 03:18 UTC, Robert Maynard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Maynard 2009-08-23 03:10:46 UTC
using crossdev to build an x86 gcc, gcc fails final pass.  

tail of build log:
checking for deflate in -lz... no
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.4... yes
checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12  
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  
checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... yes
checking GLIB_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  
checking GLIB_LIBS... -pthread -lgthread-2.0 -lrt -lglib-2.0  
checking for libart-2.0 >= 2.1... yes
checking LIBART_CFLAGS... -I/usr/include/libart-2.0  
checking LIBART_LIBS... -lart_lgpl_2  
checking for XTestQueryExtension in -lXtst... no
configure: error: libXtst not found, required by java.awt.Robot
make[1]: *** [configure-target-libjava] Error 1
make[1]: Leaving directory `/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/gcc-4.3.4/work/build'
make: *** [all] Error 2
 * 
 * ERROR: cross-i686-pc-linux-gnu/gcc-4.3.4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4912:  Called toolchain_src_compile
 *             environment, line 5438:  Called gcc_src_compile
 *             environment, line 3113:  Called gcc_do_make
 *             environment, line 2903:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with all
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/gcc-4.3.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/cross/i686-pc-linux-gnu/portage/cross-i686-pc-linux-gnu/gcc-4.3.4/temp/environment'.


Reproducible: Always

Steps to Reproduce:
1.crossdev -v --gcc 4.3.4 --binutils 2.19.1-r1 --kernel 2.6.30-r4 --libc 2.10.1 --ex-gcc --target i686-pc-linux-gnu

2.
3.

Actual Results:  
gcc fails on java target with libXtst even though libXtst is present. 

Expected Results:  
gcc builds all targets properly

siouxsie x86cross # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-gentoo-2.0.1
Timestamp of tree: Sat, 22 Aug 2009 06:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1, 3.1.1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa amd64 berkdb branding bzip2 cdr cli cracklib crypt cups dbus djvu dri dvd dvdr embedded ffmpeg fortran gcj gdbm gif gstreamer gtk hal iconv isdnlog java java6 javascript jpeg jpeg2k kde mad mmx mng mp3 mpeg mudflap multilib ncurses nfs nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl pppd python qt3 qt3support qt4 rar readline reflection samba session smp spl sse sse2 ssl svg sysfs tcpd theora tiff unicode vorbis webkit wmf xcb xcomposite xorg xv xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


siouxsie x86cross # equery l '*libXtst*'
 * Searching for *libXtst* ...
[IP-] [  ] x11-libs/libXtst-1.0.3 (0)
Comment 1 Robert Maynard 2009-08-23 03:16:15 UTC
Created attachment 201973 [details]
build.log
Comment 2 Robert Maynard 2009-08-23 03:17:28 UTC
Created attachment 201974 [details]
cross-i686-pc-linux-gnu-gcc-extra.log
Comment 3 Robert Maynard 2009-08-23 03:17:46 UTC
Created attachment 201975 [details]
cross-i686-pc-linux-gnu-info.log
Comment 4 Robert Maynard 2009-08-23 03:18:03 UTC
Created attachment 201976 [details]
environment
Comment 5 SpanKY gentoo-dev 2009-08-26 20:29:30 UTC
we most likely arent going to look into this.  i highly doubt you really want java and such for your cross-compiler.