justXi n00b

Joined: 01 Aug 2007 Posts: 67
|
Posted: Mon Apr 30, 2012 6:17 pm Post subject: Trying to emerge cross-arm-elf/gcc-4.5.3-r2 |
|
|
Hi,
I am trying to emerge "cross-arm-elf/gcc-4.5.3-r2" but it breaks with an error about conflicting "psignal" types.
Any idea how to fix this?
| Code: |
.
.
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'
|
|
|