Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge crash wile compiling xdelta
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Mr. Garr
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2003
Posts: 130
Location: Shangri-La

PostPosted: Sun May 14, 2006 6:40 pm    Post subject: emerge crash wile compiling xdelta Reply with quote

Hello, I have this crash when i when i try to make emerge -De world

Code:
PIC -DPIC xd_edsio.c -o .libs/xd_edsio.lo
mv -f .libs/xdelta.lo xdelta.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./libedsio -I/usr/include/glib-1.2 -I/usr/lib/glib/include    -march=athlon-xp -Os -fomit-frame-pointer -pipe -Wall -O3 -c xdmain.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./libedsio -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=athlon-xp -Os -fomit-frame-pointer -pipe -Wall -O3 -c xd_edsio.c -o xd_edsio.o >/dev/null 2>&1
xdmain.c: In function 'xd_handle_putui':
xdmain.c:1428: warning: const qualifier ignored on asm
xdmain.c: In function 'xd_handle_getui':
xdmain.c:1439: warning: const qualifier ignored on asm
xdmain.c: At top level:
xdmain.c:1444: error: static declaration of 'xd_handle_table' follows non-static declaration
xdmain.c:67: error: previous declaration of 'xd_handle_table' was here
xdmain.c: In function 'htonl_array':
xdmain.c:1470: warning: const qualifier ignored on asm
xdmain.c: In function 'ntohl_array':
xdmain.c:1479: warning: const qualifier ignored on asm
xdmain.c: In function 'delta_command':
xdmain.c:1544: warning: pointer targets in passing argument 2 of 'xd_handle_write' differ in signedness
xdmain.c:1563: warning: pointer targets in passing argument 2 of 'xd_handle_write' differ in signedness
xdmain.c:1566: warning: pointer targets in passing argument 2 of 'xd_handle_write' differ in signedness
xdmain.c:1603: warning: pointer targets in passing argument 2 of 'xd_handle_write' differ in signedness
xdmain.c: In function 'process_patch':
xdmain.c:1640: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1640: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1640: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1640: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1640: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1640: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1640: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1640: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
xdmain.c:1645: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1645: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1645: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1645: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1645: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1645: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1645: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1645: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
xdmain.c:1650: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1650: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1650: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1650: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1650: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1650: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1650: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1650: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
xdmain.c:1654: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1654: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1654: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1654: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1654: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1654: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1654: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1654: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
xdmain.c:1656: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1656: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1656: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1656: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1656: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1656: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1656: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1656: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
xdmain.c:1658: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1658: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1658: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1658: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1658: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1658: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1658: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1658: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
xdmain.c:1685: warning: pointer targets in passing argument 2 of 'xd_handle_read' differ in signedness
xdmain.c:1688: warning: pointer targets in passing argument 2 of 'xd_handle_read' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
xdmain.c:1708: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness
make[2]: *** [xdmain.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .libs/xd_edsio.lo xd_edsio.lo
make[2]: Leaving directory `/var/tmp/portage/xdelta-1.1.3/work/xdelta-1.1.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xdelta-1.1.3/work/xdelta-1.1.3'
make: *** [all-recursive-am] Error 2

!!! ERROR: dev-util/xdelta-1.1.3 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 930:   Called src_compile
  ebuild.sh, line 600:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



my emerge --info:
Code:
emerge --info
Portage 2.1_pre10-r5 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.16-gentoo-r3 i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --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="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli crypt cups dbus dri dvd dvdr eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer hal imlib ipv6 isdnlog ithreads jabber java jpeg kde kdeenablefinal kdexdeltas libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev userlocales vorbis win32codecs xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_pl userland_GNU video_cards_nvidia video_cards_nv"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS

I searched the forums but couldn't find any solutions
Thanks for any help
_________________
Illuminatus Primus
Back to top
View user's profile Send private message
moesasji
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 263

PostPosted: Mon May 15, 2006 1:53 pm    Post subject: Reply with quote

I have no direct solution for this problem, however I would suggest you try to emerge with safe CXXFlags and no LDFLAGS to see if that solves it. So remove the -fvisibility-inlines-hidden" from the CXXFlags and the to emerge again with

LDFLAGS="" emerge --oneshot xdelta

ps) In bugzilla there are some bugreports related to problems in compiling with GCC 4.1, that might also be the cause.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum