Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122120 - stabilize yasm - seems to be working fine
Summary: stabilize yasm - seems to be working fine
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-08 06:29 UTC by BarbuDreadMon
Modified: 2006-04-08 02:36 UTC (History)
0 users

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


Attachments
testlog.txt (testlog.txt,18.52 KB, text/plain)
2006-02-27 11:48 UTC, Chris White (RETIRED)
Details
test.S (test.S,348 bytes, text/plain)
2006-02-27 14:21 UTC, Chris White (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BarbuDreadMon 2006-02-08 06:29:43 UTC
I have been using yasm-0.3.0 and now yasm-0.4.0 for many month.
Executables compiled with it seems to be working fine : i use a custom subversion ebuild for x264 support and i use xvid-1.1.0 too. My encodings works great.
Perhaps it could be a good idea to think about marking yasm stable since some projects will need it in the future.
Comment 1 BarbuDreadMon 2006-02-08 06:43:47 UTC
(In reply to comment #0)
> I have been using yasm-0.3.0 and now yasm-0.4.0 for many month.
> Executables compiled with it seems to be working fine : i use a custom
> subversion ebuild for x264 support and i use xvid-1.1.0 too. My encodings works
> great.
> Perhaps it could be a good idea to think about marking yasm stable since some
> projects will need it in the future.
> 

my emerge --info :

Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r4 x86_64 AMD Opteron(tm) Processor 142
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -Os -fno-ident -ftracer -fweb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=opteron -Os -fno-ident -ftracer -fweb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa aotuv asf atm audiofile avi bdf berkdb bidi bitmap-fonts bmp bonjour bzip2 cairo cdparanoia cdr cjk crypt curl dbus dlloader dts dv dvd dvdr dvdread emboss encode exif expat fam ffmpeg firefox flac fontconfig foomaticdb fortran fpx gcj gif glade glibc-omitfp glitz glut gnome gnomecanvas gnutls gphoto2 gtk gtk2 hal howl id3 idn ieee1394 imagemagick imlib input_devices_keyboard input_devices_mouse java jpeg jpeg2k justify kdgraphics lame lcms libclamav live lzo lzw lzw-tiff mad matroska md5sum mikmod mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mp4live mpeg mpeg2 mpi mplayer nautilus ncurses nethack nls nowebdav nptl nsplugin numeric nvidia oav objc offensive ogg oggvorbis openexr opengl oss pam parse-clocks pccts pcre pdflib perl player png python quicktime rar readline real rle rtc samba screen sdl sndfile sox speedo speex spell ssl startup-notification stream subtitles svg sysfs t1lib tcpd theora threads tiff transcode truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales vcd video_cards_none video_cards_nvidia vim-with-x vlm vorbis wmf wxwindows x264 xanim xchat xcomposite xgetdefault xine xml2 xpm xrandr xscreensaver xv xvid yv12 zeroconf zlib linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS

My USE flags needs some cleaning :-(
Comment 2 Chris White (RETIRED) gentoo-dev 2006-02-27 11:48:14 UTC
Created attachment 80851 [details]
testlog.txt

Passes all tests on my amd64 here. I'll verify runtime cases in about an hour or so.

emerge --info:

Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 Intel(R) Pentium(R) D CPU 2.80GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-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/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com"
LANG="ja_JP.utf8"
LC_ALL="ja_JP.utf8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa audiofile avi berkdb bitmap-fonts bzip2 canna crypt cups dts dvd dvdread eds emboss encode ethereal expat fam foomaticdb fortran gif gpm idn imlib ipv6 jpeg kde kdeenablefinal lcms ldap lzw lzw-tiff mad mng mp3 mpeg mplayer nas ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl png python qt quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 3 Chris White (RETIRED) gentoo-dev 2006-02-27 14:21:29 UTC
Created attachment 80855 [details]
test.S

Sorry, work got a little more occupied than I thought :).  Anyways, here's a testcase that works just great here, however it might be a good idea to mention the -m parameter, as amd64 assembly isn't created by default (x86 asm is instead).  Sample output:

chris@chrisw ~ $ yasm -m amd64 -f elf -o test.o test.S
chris@chrisw ~ $ gcc -Wall -s test.o -o Test
chris@chrisw ~ $ ./Test
Hello World!
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2006-04-08 02:36:14 UTC
0.4.0 is already stable