First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 234660
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Gentoo net-p2p team <net-p2p@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Raúl Porcel <armin76@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dclib-0.3.18-HASH_SIZE.patch dclib-0.3.18-HASH_SIZE.patch patch Jeroen Roovers 2008-08-18 15:54 0000 433 bytes Details | Diff
crash.gdbout valknut-0.3.18-gdb.log text/plain Jeroen Roovers 2008-08-18 16:45 0000 2.70 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 234660 depends on: Show dependency tree
Bug 234660 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-08-13 18:10 0000
Thanks

------- Comment #1 From Raúl Porcel 2008-08-14 10:12:27 0000 -------
alpha/ia64/x86 stable

------- Comment #2 From nixnut 2008-08-15 16:08:49 0000 -------
dclib doesn't like ppc

 powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W
-pedantic -Wno-long-long -Wundef -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -mcpu=G4 -mtune=G4 -maltivec
-mabi=altivec -fno-strict-aliasing -pipe -msecure-plt -pthread -O2 -mcpu=G4
-mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -msecure-plt -MT
Encoder.lo -MD -MP -MF .deps/Encoder.Tpo -c Encoder.cpp -o Encoder.o >/dev/null
2>&1
TigerHash.cpp: In member function ‘uint8_t* dcpp::TigerHash::finalize()’:
TigerHash.cpp:238: error: ‘HASH_SIZE’ was not declared in this scope
TigerHash.cpp:240: error: ‘HASH_SIZE’ was not declared in this scope
make[3]: *** [TigerHash.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/Encoder.Tpo .deps/Encoder.Plo
make[3]: Leaving directory
`/var/tmp/portage/net-p2p/dclib-0.3.18/work/dclib-0.3.18/dclib/hash'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/net-p2p/dclib-0.3.18/work/dclib-0.3.18/dclib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-p2p/dclib-0.3.18/work/dclib-0.3.18'
make: *** [all] Error 2

emerge --info:
Portage 2.1.4.4 (default/linux/powerpc/ppc32/2008.0/desktop, gcc-4.1.2,
glibc-2.6.1-r0, 2.6.24-gentoo-r3-x1 ppc)
=================================================================
System uname: 2.6.24-gentoo-r3-x1 ppc 7447A, altivec supported
Timestamp of tree: Fri, 15 Aug 2008 15:04:01 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-util/ccache:     2.3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing
-pipe -msecure-plt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/NX/etc /usr/NX/home
/usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown
/usr/share/X11/xkb /usr/share/config /var/lib/hsqldb /var/qmail/alias
/var/qmail/control /var/spool/torque /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing
-pipe -msecure-plt"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect cvs distlocks metadata-transfer parallel-fetch
sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en en_GB nl zh ru he"
MAKEOPTS="-j2"
PKGDIR="/mnt/catalyst/binpkg"
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"
USE="X aac acl alsa altivec arts avahi berkdb bluetooth branding bzip2 cairo
cdr cli cracklib crypt cups dbus divx4linux dlloader dri dvd dvdr dvdread eds
emboss encode esd evo fam firefox flac fortran gdbm gif glitz gnome gpm
gstreamer gtk hal iconv imlib ipv6 isdnlog jpeg jpeg2k kde kerberos ldap
libnotify mad midi mikmod mp3 mpeg mudflap ncurses network nls nptl nptlonly
ogg opengl openmp pam pcre pdf perl png ppc ppds pppd python qt3 qt3support
quicktime readline reflection sdl session spell spl ssl startup-notification
svg sysfs tcpd theora tiff truetype unicode usb userlocales vorbis xine xml
xorg xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus
aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio" 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"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en
en_GB nl zh ru he" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From Jeroen Roovers 2008-08-18 15:31:33 0000 -------
HPPA sees the same error as PPC.

Mon Aug 18 17:04:19 CEST 2008
Portage 2.2_rc8 (default/linux/hppa/2008.0, gcc-4.1.2, glibc-2.7-r2,
2.6.27-rc2-JeR parisc)
=================================================================
System uname: Linux-2.6.27-rc2-JeR-parisc-PA8700_-PCX-W2-with-glibc2.2
Timestamp of tree: Mon, 18 Aug 2008 04:17:03 +0000
distcc 2.18.3 hppa2.0-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="hppa"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind
/var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg cvs distlocks fixpackages notitles parallel-fetch
sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.tiscali.nl/"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en nl he"
MAKEOPTS="-j4"
PKGDIR="/keeps/gentoo/packages/elmer"
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="/mnt/alt/portage-tmp"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility ads agg alsa amr amrnb amrwb ao
aoss apache2 ares arts asf async asyncns audiofile audit automount avfs
bash-completion berkdb bidi bittorrent bl bluetooth bzip2 c++ cairo caps
catalogs cblas cdb cddb cdparanoia cdr chardet cjk clarens cli cpudetection
cracklib crypt cups curl custom-cflags dbtool dbus device-mapper dga dia
directfb djbfft domainkeys drm dts dv dvd dvdr dvdread dxr3 edl elf emacs enca
encode esd examples exif expat fam fame fastbuild fastcgi fbcon ffmpeg filter
flac fontconfig foomaticdb fortran ftp gadu galago gd gdbm geant4 geoip ggi gif
gimp gimpprint glep glib glut gmp gnome gnutls gphoto2 gpm gs gsl gtk gtk2
gtkhtml hal hesiod hppa ical icecast iconv idea idn imagemagick imlib immqt-bc
inquisitio ipv6 isc isdnlog ithreads jack javascript jingle jpeg jpeg2k kde
kerberos lapack latex lcms ldap leim libcaca libnotify libsamplerate libwww
live logrotate logwatch lua lzo mad matroska memcache metis mhash midi mikmod
mmap mng modplug motif mozbranding mp3 mplayer mssql mudflap musepack mysql nas
ncurses netpbm network-cron nfconntrack nfs nls nntp nptl nptlonly nsplugin
offensive ogg openexr opengl openmp oss ots overlays pam pango pbs pcre pdf
pdo-external perl php pic plotutils plugins png portage portaudio postgres
povray ppds pppd pulseaudio python pyzord qdbm qt3 qt3support quotas raw
readline recode reflection rpc rrdtool rtc ruby samba sasl scanner scim sdl
seamonkey server session sid slang slp sms sndfile snmp soundex speex spell spl
sqlite ssh ssl startup-notification subversion suhosin supernodal svg swat
sysfs syslog talkfilters tcl tcpd test tftp tga theora threads thunar-vfs tidy
tiff timidity tk tools truetype twolame udev unicode unzip urandom usb
userlocales utempter utf v4l v4l2 vanim vcd vidix vim-syntax vorbis wavpack
webdav webinstall winbind wlan wma wmf xanim xchattext xcomposite xface xml
xml2 xmpi xorg xpm xrandr xscreensaver xsettings xulrunner xv xvid xvmc zip
zip-external zlib" ALSA_CARDS="ad1889 usb-audio" 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"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en nl he" USERLAND="GNU" VIDEO_CARDS="stifb fbdev matrox"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #4 From Jeroen Roovers 2008-08-18 15:54:58 0000 -------
Created an attachment (id=163219) [details]
dclib-0.3.18-HASH_SIZE.patch

Apparently it was an oversight in a substitution of BLOCK_SIZE for HASH_SIZE.
The HASH_SIZE reference is still present in 0.3.19, so upstream might be
interested in this patch.

------- Comment #5 From Jeroen Roovers 2008-08-18 16:00:20 0000 -------
Of course the patch I attached on its own wouldn't be enough to fix the
configure problem that makes PPC to be a big-endian arch:

#if defined(__x86_64__) || defined(__alpha)
#define TIGER_ARCH64
#endif
#if !(defined(__i386__) || defined(__x86_64__) || defined(__alpha))
#define TIGER_BIG_ENDIAN
#endif
#endif // _WIN32

Obviously these tests do not suffice, and ideally shouldn't be in this file at
all.

------- Comment #6 From Jeroen Roovers 2008-08-18 16:45:22 0000 -------
Created an attachment (id=163222) [details]
valknut-0.3.18-gdb.log

Ugh, and even then it has problems that don't occur in 0.3.13.

------- Comment #7 From Markus Meier 2008-08-23 16:59:11 0000 -------
valknut:
configure: WARNING: Unrecognized options: --with-ssl, --with-libdc

------- Comment #8 From Markus Meier 2008-08-23 17:37:03 0000 -------
amd64 stable

------- Comment #9 From Edward Sheldrake 2008-09-09 23:12:19 0000 -------
The dclib-0.3.18-HASH_SIZE.patch is incorrect, HASH_SIZE was replaced with
BYTES everywhere else in the DC++ source code but they missed a bit.

64-bit and big endian are detected by autoconf in 0.3.20 which I assume detects
them correctly. However, the optimized 64-bit code is not enabled if big
endian, because nobody knows if it works or if it is faster.

Here is a hashing test program, intended for performance, but also checks the
result is correct:
http://wxdcgui.sourceforge.net/hashing-test.cpp

There doesn't appear to be any useful information in the backtrace. One
possible explanation: the build systems for dclib and valknut-qt4 (0.4.X) were
re-written, but valknut-qt3 (0.3.X) still uses the old build system from KDE3.
Please try re-compiling dclib with the same compiler flags valknut-qt3 used.

valknut no longer has --with-ssl, only dclib can be compiled with either
--enable-ssl (default) or --disable-ssl
--with-libdc was removed and pkg-config is used instead.

------- Comment #10 From Raúl Porcel 2009-04-20 16:58:09 0000 -------
Please try with 0.3.21

Thanks

------- Comment #11 From nixnut 2009-06-07 17:15:41 0000 -------
(In reply to comment #10)
> Please try with 0.3.21

0.3.21 works for me. mark stable?

------- Comment #12 From Jeroen Roovers 2009-08-09 14:18:17 0000 -------
(In reply to comment #11)
> (In reply to comment #10)
> > Please try with 0.3.21
> 
> 0.3.21 works for me. mark stable?

Works for HPPA too. Well? :)

First Last Prev Next    No search results available      Search page      Enter new bug