Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145424 - dev-libs/pwlib-1.10.1 fails with assembler messages (invalid suffices/operands)
Summary: dev-libs/pwlib-1.10.1 fails with assembler messages (invalid suffices/operands)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-28 16:30 UTC by Petter Häggholm
Modified: 2006-11-08 15:42 UTC (History)
2 users (show)

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


Attachments
Fix broken assembler output w/ -O0 (pwlib-1.10.1-no-optimisation-assembly-fix.patch,986 bytes, patch)
2006-08-29 03:57 UTC, Danny van Dyk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petter Häggholm 2006-08-28 16:30:41 UTC
g++ -D_REENTRANT -Wall  -DP_64BIT -fPIC -DPIC -I/var/tmp/portage/pwlib-1.10.1/work/pwlib-1.10.1/include  -march=athlon64 -fomit-frame-pointer -pipe  -c ../common/jidctflt.cxx -o /var/tmp/portage/pwlib-1.10.1/work/pwlib-1.10.1/lib/obj_linux_x86_64_r/jidctflt.o
{standard input}: Assembler messages:
{standard input}:22: Error: suffix or operands invalid for `add'
{standard input}:23: Error: suffix or operands invalid for `sar'
make[1]: *** [/var/tmp/portage/pwlib-1.10.1/work/pwlib-1.10.1/lib/obj_linux_x86_64_r/jidctflt.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/pwlib-1.10.1/work/pwlib-1.10.1/src/ptlib/unix'
make: *** [opt] Error 2

!!! ERROR: dev-libs/pwlib-1.10.1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  pwlib-1.10.1.ebuild, line 93:   Called die

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

dreadfort ~ # emerge --info
Portage 2.1.1_rc1-r1 (default-linux/amd64/2005.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
Last Sync: Sun, 27 Aug 2006 23:20:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo http://prometheus.cs.wmich.edu/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://mirror.espri.arizona.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1,-z,now"
LINGUAS="en en_GB en_US"
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 /usr/local/liferea_overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac acpi alsa amr apache2 artworkextra avi berkdb bitmap-fonts branding bzip2 cairo cdinstall cdrom cli crypt cups cursors dba dbus dlloader doc dri dts dvd editor eds elibc_glibc emboss encode fam ffmpeg firefox flac foomaticdb fortran gcc64 gcj gdm gif glitz gnome gpm gstreamer gstreamer010 gtk gtk2 gtkhtml hal icons imlib initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc4 initng_plugins_pause initng_plugins_pidfile initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded input_devices_evdev input_devices_keyboard input_devices_mouse iproute2 ipv6 isdnlog jpeg kdeenablefinal kernel_linux libnotify linguas_en linguas_en_GB linguas_en_US lm_sensors logitech-mouse logrotate lzw lzw-tiff mad math mikmod mozcalendar mozdevelop moznocompose moznoirc moznomail mozsvg mp3 mpeg nautilus ncurses network nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pcre pdf pdflib perl png pppd python qt-static quicktime readline reflection rtc sdl session spell spl ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU vcd video_cards_nvidia video_cards_vesa videos vorbis wma123 xchat xchatdccserver xorg xpm xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petter Häggholm 2006-08-28 17:08:58 UTC
Oh, the stupidity! Entirely my fault. When removing an array of dangerous CFLAGS in preparation for an `emerge -e world` a while ago, it seems I accidentally removed the optimisation flag. With -O2 it builds, and it'll probably make my system a wee bit more responsive ...
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2006-08-29 03:27:05 UTC
This is still a bug in pwlib's ptlib on the inline assembly level.
I'm investigating it further.
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2006-08-29 03:57:22 UTC
Created attachment 95358 [details, diff]
Fix broken assembler output w/ -O0

Stefan, I propose this fix.
Comment 4 Timothy Redaelli (RETIRED) gentoo-dev 2006-11-08 15:42:06 UTC
Fixed in 1.10.2-r1, thanks