Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
Makefile:112: .depend: No such file or directory init.S16:45: invalid preprocessing directive #This init.S16:60: invalid preprocessing directive #flags cc1: warning: -malign-loops is obsolete, use -falign-loops cc1: warning: -malign-jumps is obsolete, use -falign-jumps cc1: warning: -malign-functions is obsolete, use -falign-functions init.S16:45: invalid preprocessing directive #This init.S16:60: invalid preprocessing directive #flags make[1]: *** [init.s16] Error 1 make: *** [memdisk] Error 2 make: *** Waiting for unfinished jobs.... !!! ERROR: sys-apps/syslinux-2.04 failed. !!! Function src_compile, Line 17, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. Apparenetly ok with earlier nasm?? 2. 3. Those two lines should be comments. If you put a space in front of the "#" its ok.
please provide use #emerge info
did you try to turn down you CFLAGS ?
nasm version is 0.98.36 Portage 2.0.48-r1 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21vpn i686 AMD Athlon(tm) XP 2200+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow apm crypt cups encode gif jpeg mpeg ncurses nls pdflib png spell truetype xml2 xmms xv zlib gtkhtml alsa readline bonobo java guile postgres X sdl pam libwww ssl perl python oggvorbis gnome gtk opengl mozilla ldap cdr scanner acl apache2 freetds gd gtk2 imap innodb maildir mbox pic samba sasl usb -oss -arts -avi -kde -libg++ -mikmod -mmx -quicktime -gdbm -berkdb -slang -tetex -svga -gpm -tcpd -esd -imlib -qt -motif" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Here I have the same problem. My emerge info: Portage 2.0.48-r1 (default-x86-1.4, gcc-3.3, glibc-2.3.1-r4) ================================================================= System uname: 2.4.21-ck1 i686 Intel(R) Pentium(R) III Mobile CPU 1200MHz GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/var/cache/portage/distfiles" PKGDIR="/var/cache/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss apm avi crypt cups encode gif jpeg libg++ mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java guile X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gnome gtk qt kde motif opengl mozilla ldap cdr artswrappersuid dvd evo fbcon gtk2 icc leim mozinterfaceinfo moznoirc moznomail mule pcmcia plotutils pnp prebuilt sse tiff usb wmf Xaw3d -3dnow -mikmod -esd" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -Os -fomit-frame-pointer -mmmx -msse -pipe " CXXFLAGS="-march=pentium3 -Os -fomit-frame-pointer -mmmx -msse -pipe " ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
please try #revdep-rebuild from gentoolkit compiles here fine on stable gentoo-1.0 and stable gentoo-1.4 with latest nasm
I have this same problem. Have dialed down CFLAGS, rebuilt nasm and mtools, ran revdep-rebuild, etc, etc... The only way I was able to get it to compile was to switch to gcc 2.95.3, dial down CFLAGS to "-march=i686 -O2" and try again. Does not work with gcc 3.3 on any CFLAGS setting, period.
Comfirmed as bug in gcc-3.3. I've downgraded to 3.2.3 and the problem has disappeared.
perhaps there is/was some confusion of syslinux vs selinux, reassigning bug back to bug-wranglers
could you try 2.05 ?
Misleading summary :) This has nothing to do with CFLAGS, nasm, OR mtools. Problem here is an error in `memdisk/Makefile', which tells gcc it is dealing with C code when preprocessing S files. Didn't really matter in earlier versions of gcc, but now that preprocessing involves the language dependant backends, asm comments are misidentied as preprocessor directives.
Created an attachment (id=16871) [edit] syslinux-2.04_Makefile_asm-rules.diff That should fix it in 2.04. I'll add a patch for 2.05 as soon as I'm back home (Monday or Tuesday).
added the patch to 2.05 and 2.06 thanks :)
But why call it `2.06-nasm.patch'? That bug is caused by an error in a Makefile that older versions of gcc (or rather, cpp) didn't care about while 3.3 does. nasm is completely innocent!
*shrug* doesnt matter too much ;)
Yes it does. - `nasm' assembles .asm files. - `as' assembles .s/.S files. - init.S16 is a (at&t-style syntax) .s file that gcc passes to `as' (after cpp turns it into init.s16). No nasm involved.
i know how the process works, i'm just saying it doesnt matter what the patch is called ...