Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155313 - app-editors/hteditor-0.9.4 doesn't compile with gcc 4.1.1 on amd64
Summary: app-editors/hteditor-0.9.4 doesn't compile with gcc 4.1.1 on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-11-15 16:29 UTC by katerina
Modified: 2007-01-27 10:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description katerina 2006-11-15 16:29:52 UTC
xbestruct.h:138: warning: 
Comment 1 katerina 2006-11-15 16:29:52 UTC
xbestruct.h:138: warning: packed attribute ignored for field of type unsigned char [8]
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I./minilzo -I./srt -I.    -march=k8 -O2 -pipe -MT htanaly.o -MD -MP -MF ".deps/htanaly.Tpo" -c -o htanaly.o htanaly.cc; \
        then mv -f ".deps/htanaly.Tpo" ".deps/htanaly.Po"; else rm -f ".deps/htanaly.Tpo"; exit 1; fi
httag.h:37: warning: packed attribute ignored for field of type unsigned char
httag.h:38: warning: packed attribute ignored for field of type unsigned char
httag.h:43: warning: packed attribute ignored for field of type unsigned char
httag.h:55: warning: packed attribute ignored for field of type unsigned char
httag.h:56: warning: packed attribute ignored for field of type unsigned char
httag.h:62: warning: packed attribute ignored for field of type char
httag.h:74: warning: packed attribute ignored for field of type unsigned char
httag.h:75: warning: packed attribute ignored for field of type unsigned char
httag.h:86: warning: packed attribute ignored for field of type unsigned char
httag.h:87: warning: packed attribute ignored for field of type unsigned char
httag.h:101: warning: packed attribute ignored for field of type unsigned char
httag.h:102: warning: packed attribute ignored for field of type unsigned char
httag.h:109: warning: packed attribute ignored for field of type unsigned char
httag.h:110: warning: packed attribute ignored for field of type unsigned char
httag.h:117: warning: packed attribute ignored for field of type unsigned char
httag.h:118: warning: packed attribute ignored for field of type unsigned char
httag.h:125: warning: packed attribute ignored for field of type unsigned char
httag.h:126: warning: packed attribute ignored for field of type unsigned char
httag.h:221: warning: packed attribute ignored for field of type unsigned char
httag.h:222: warning: packed attribute ignored for field of type unsigned char
httag.h:236: warning: packed attribute ignored for field of type unsigned char
httag.h:237: warning: packed attribute ignored for field of type unsigned char
httag.h:251: warning: packed attribute ignored for field of type unsigned char
httag.h:252: warning: packed attribute ignored for field of type unsigned char
httag.h:254: warning: packed attribute ignored for field of type unsigned char
httag.h:266: warning: packed attribute ignored for field of type unsigned char
httag.h:267: warning: packed attribute ignored for field of type unsigned char
httag.h:269: warning: packed attribute ignored for field of type char
httag.h:280: warning: packed attribute ignored for field of type unsigned char
httag.h:281: warning: packed attribute ignored for field of type unsigned char
httag.h:288: warning: packed attribute ignored for field of type unsigned char
httag.h:289: warning: packed attribute ignored for field of type unsigned char
httag.h:296: warning: packed attribute ignored for field of type unsigned char
httag.h:297: warning: packed attribute ignored for field of type unsigned char
httag.h:304: warning: packed attribute ignored for field of type unsigned char
httag.h:305: warning: packed attribute ignored for field of type unsigned char
htanaly.cc: In member function void ht_aviewer::showXRefs(Address*):
htanaly.cc:1898: error: cast from Address* to int loses precision
gmake[2]: *** [htanaly.o] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/app-editors/hteditor-0.9.4/work/ht-0.9.4'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/app-editors/hteditor-0.9.4/work/ht-0.9.4'
make: *** [all] Error 2

!!! ERROR: app-editors/hteditor-0.9.4 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  hteditor-0.9.4.ebuild, line 38:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

---
Portage 2.1.2_rc1-r6 (default-linux/amd64/2005.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.6
Last Sync: Wed, 15 Nov 2006 00:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en it de fr ja eo"
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="amd64 X alsa apache2 arts ati berkdb bitmap-fonts browserplugin bzip2 cairo cdparanoia cdr cjk cli cpudetection cracklib crypt cscopecups cups dlloader doc dri dvd dvdread eds elibc_glibc emboss encode esd faad ffmpeg flac foomaticdb fortran gd gif gimp gimpprint glitz glut gphoto2 gpm gstreamer gtk gtk2 guile iconv imagemagick imlib immqt-bc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_wacom isdnlog java jpeg kde kdeenablefinal kernel_linux kqemu ldb linguas_de linguas_en linguas_eo linguas_fr linguas_it linguas_ja lm_sensors logitech-mouse lzw lzw-tiff mad mozilla mp3 mpeg musicbrainz ncurses network nls noamazon nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre pdf perl plotutils png postgres povray pppd python qt qt3 qt4 quicktime readline reflection rtc ruby scanner sdl session speex spell spl ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_ati video_cards_radeon visualization vorbis xanim xcomposite xinerama xorg xpm xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Daniel Black (RETIRED) gentoo-dev 2006-11-16 02:18:49 UTC
I just reported this to the author. Thanks for the bug report. 
Sebastian is normally pretty quick with fixes so it shouldn't be too long.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2006-11-17 14:47:03 UTC
Can you try the patch from the URL.
Ignore the following Hunk Failed (below) - the code it applies to isn't there anymore.
Hunk #1 FAILED at 95.
1 out of 1 hunk FAILED -- saving rejects to file analyser/analy_names.cc.rej


From:
Sebastian Biallas <sb@biallas.net>

"I know. The 0.x releases are not 64 bit aware. I just released HT
2.0beta which works on 64 bit platforms and has even important 64 bit
disassemblers (x86_64 and powerpc64)."

I'll add a 2.0 release once Sebastian puts a tarball out.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2007-01-27 10:33:44 UTC
added ht-2.0beta2 finally that fixes this problem.

Sorry for the delay and thanks for the bug report/