Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416757 - cross-arm-elf/gcc-4.5.3-r2 - checking machine/endian.h usability... // .../work/gcc-4.5.3/libiberty/strsignal.c:554:1: Fehler: In Konflikt stehende Typen für »psignal«
Summary: cross-arm-elf/gcc-4.5.3-r2 - checking machine/endian.h usability... // .../wo...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-20 17:03 UTC by justXi
Modified: 2015-04-07 02:49 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,825.77 KB, text/plain)
2012-05-21 17:14 UTC, justXi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description justXi 2012-05-20 17:03:22 UTC
..

checking for sys/ipc.h... no
if [ x"" != x ]; then \
     /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build/./gcc/xgcc -B/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build/./gcc/ -B/usr/arm-elf/bin/ -B/usr/arm-elf/lib/ -isystem /usr/arm-elf/include -isystem /usr/arm-elf/sys-include    -c -DHAVE_CONFIG_H -g -O2 -pipe  -I. -I/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libiberty/strerror.c -o pic/strerror.o; \
   else true; fi
checking sys/isa_defs.h usability... /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build/./gcc/xgcc -B/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build/./gcc/ -B/usr/arm-elf/bin/ -B/usr/arm-elf/lib/ -isystem /usr/arm-elf/include -isystem /usr/arm-elf/sys-include    -c -DHAVE_CONFIG_H -g -O2 -pipe  -I. -I/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libiberty/strerror.c -o strerror.o
no
checking sys/isa_defs.h presence... if [ x"" != x ]; then \
     /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build/./gcc/xgcc -B/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build/./gcc/ -B/usr/arm-elf/bin/ -B/usr/arm-elf/lib/ -isystem /usr/arm-elf/include -isystem /usr/arm-elf/sys-include    -c -DHAVE_CONFIG_H -g -O2 -pipe  -I. -I/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libiberty/strsignal.c -o pic/strsignal.o; \
   else true; fi
/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build/./gcc/xgcc -B/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build/./gcc/ -B/usr/arm-elf/bin/ -B/usr/arm-elf/lib/ -isystem /usr/arm-elf/include -isystem /usr/arm-elf/sys-include    -c -DHAVE_CONFIG_H -g -O2 -pipe  -I. -I/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libiberty/strsignal.c -o strsignal.o
/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libiberty/strsignal.c:554:1: Fehler: In Konflikt stehende Typen für »psignal«
/usr/arm-elf/include/signal.h:27:6: Anmerkung: Vorherige Deklaration von »psignal« war hier
make[2]: *** [strsignal.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
no
checking for sys/isa_defs.h... no
checking sys/machine.h usability... make[2]: Leaving directory `/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build/arm-elf/libiberty'
make[1]: *** [all-target-libiberty] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
no
checking sys/machine.h presence... no
checking for sys/machine.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/sem.h usability... no
checking sys/sem.h presence... no
checking for sys/sem.h... no
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for wctype.h... (cached) yes
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int_least32_t... yes
checking for int_fast32_t... yes
checking for uint64_t... yes
checking what to include in include/gstdint.h... stdint.h (already complete)
checking whether the target supports .symver directive... yes
configure: versioning on shared library symbols is no
checking for size_t as unsigned int... no
checking for ptrdiff_t as int... no
checking whether the target supports hidden visibility... yes
configure: visibility supported: yes
configure: updating cache ./config.cache
checking for gxx-include-dir... /usr/lib/gcc/arm-elf/4.5.3/include/g++-v4
checking for --enable-version-specific-runtime-libs... no
checking for install location... /usr/lib/gcc/arm-elf/4.5.3/include/g++-v4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/testsuite_flags
config.status: creating include/Makefile
config.status: creating libsupc++/Makefile
config.status: creating python/Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing libtool commands
config.status: executing include/gstdint.h commands
config.status: executing generate-headers commands
make[2]: Entering directory `/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build/arm-elf/libstdc++-v3/include'
echo timestamp > stamp-pb
make[2]: [stamp-parallel] Error 1 (ignored)
echo timestamp > stamp-host
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
sed -e '/^#pragma/b' \
       -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g' \
       -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
       -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
       < /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libstdc++-v3/../gcc/gthr.h > arm-elf/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
       -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
       < /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libstdc++-v3/../gcc/gthr-single.h > arm-elf/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
       -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
       -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
       -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
       < /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libstdc++-v3/../gcc/gthr-posix.h > arm-elf/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
       -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
       -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
       -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
       < /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libstdc++-v3/../gcc/gthr-tpf.h > arm-elf/bits/gthr-tpf.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
       -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
       -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
       -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
       -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
       < /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/gcc-4.5.3/libstdc++-v3/../gcc/gthr-single.h > arm-elf/bits/gthr-default.h
make[2]: Leaving directory `/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build/arm-elf/libstdc++-v3/include'
make[1]: Leaving directory `/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build'
make: *** [all] Fehler 2
emake failed
 * ERROR: cross-arm-elf/gcc-4.5.3-r2 failed (compile phase):
 *   emake failed with all
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 3864:  Called toolchain_src_compile
 *   environment, line 4522:  Called gcc_do_make
 *   environment, line 2217:  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}";
 *
 * If you need support, post the output of 'emerge --info =cross-arm-elf/gcc-4.5.3-r2',
 * the complete build log and the output of 'emerge -pqv =cross-arm-elf/gcc-4.5.3-r2'.
 * This ebuild is from an overlay named 'xi-overlay': '/usr/local/portage/'
 *
 * Please include /var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build/gcc-build-logs.tar.bz2 in your bug report
 *
 * The complete build log is located at '/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/temp/environment'.
 * S: '/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/work/build'

>>> Failed to emerge cross-arm-elf/gcc-4.5.3-r2, Log file:

>>>  '/var/tmp/portage/cross-arm-elf/gcc-4.5.3-r2/temp/build.log'
Comment 1 justXi 2012-05-20 17:04:03 UTC
I tried to emerge cross-arm-elf/gcc-4.5.3-r2 but it failed everytime with the same error.
Comment 2 justXi 2012-05-20 17:04:49 UTC
emerge --info:

Portage 2.1.10.49 (default/linux/x86/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 3.2.1-gentoo-r2 i686)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.3
Timestamp of tree: Sat, 19 May 2012 18:05:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.4.6, 2.5.4-r4, 2.6.6-r2, 2.7.3-r1, 3.1.4-r3, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            3.4.6-r2, 4.1.2, 4.3.4, 4.4.5, 4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.81
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo xi-overlay wschlich-testing java-overlay sunrise x11
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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 /var/lib/layman/wschlich-testing /var/lib/layman/java-overlay /var/lib/layman/sunrise /var/lib/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aim alsa analogtv apache2 arts asf bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dga dmx dri dts dvb dvd dvdr emboss encode exif fam fbcondecor firefox flac fluidsynth fortran ftdi gdal gdbm gif gimp glibc-compat20 gnome gnutls gpm gstreamer gtk hbci iconv icq imap ipv6 jack jadetex jpeg kde ladcca lcms ldap libnotify libpng libsamplerate mad mapnik maps mbox mixer mjpeg mmx mmxext mng modules mp3 mp4 mpeg mudflap ncurses network nls nntp nptl nsplugin ofx ogg openal opengl openmp oss pam pango parport pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline scripts sdl sensord session sip smp spell sqlite sse sse2 ssl startup-notification stencil-buffer svg tcltk tcpd tetex tiff truetype tv udev udisks unicode upower usb vhosts vorbis win32codecs wxwidgets wxwindows x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-dib0700" 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 ubx" INPUT_DEVICES="evdev keyboard mouse aiptek joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" LIRC_DEVICES="serial" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-21 03:22:35 UTC
Please attach the entire build log to this bug report.
Comment 4 justXi 2012-05-21 17:14:25 UTC
Created attachment 312551 [details]
build.log
Comment 5 SpanKY gentoo-dev 2012-05-24 02:02:47 UTC
what version of newlib ?
Comment 6 justXi 2012-06-10 16:00:51 UTC
cross-arm-elf/newlib-1.20.0
Comment 7 SpanKY gentoo-dev 2015-04-07 02:49:49 UTC
gcc has dropped support for arm-elf.  you'll want to pick a more specific target now like arm-none-eabi.