First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 23481
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Huttley <john@mib-infotech.co.nz>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
syslinux-2.04_Makefile_asm-rules.diff syslinux-2.04_Makefile_asm-rules.diff patch bartron 2003-08-31 15:36 0000 1.13 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2003-06-25 13:01 0000
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.

------- Comment #1 From Martin Holzer (RETIRED) 2003-06-25 13:19:14 0000 -------
please provide use
#emerge info

------- Comment #2 From Martin Holzer (RETIRED) 2003-06-25 13:19:29 0000 -------
did you try to turn down you CFLAGS ?

------- Comment #3 From John Huttley 2003-06-25 22:47:53 0000 -------
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"


------- Comment #4 From Mauricio Lima Pilla 2003-07-01 06:08:19 0000 -------
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"

------- Comment #5 From Martin Holzer (RETIRED) 2003-07-01 08:29:42 0000 -------
please try #revdep-rebuild
from gentoolkit

compiles here fine on stable gentoo-1.0 and stable gentoo-1.4 with latest nasm

------- Comment #6 From Dylan Carlson (RETIRED) 2003-07-11 05:59:56 0000 -------
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.

------- Comment #7 From John Huttley 2003-07-11 14:39:47 0000 -------
Comfirmed as bug in gcc-3.3. I've downgraded to 3.2.3 and the problem has
disappeared.

------- Comment #8 From solar 2003-08-31 11:24:24 0000 -------
perhaps there is/was some confusion of syslinux vs selinux, reassigning bug
back to bug-wranglers

------- Comment #9 From Martin Holzer (RETIRED) 2003-08-31 12:14:34 0000 -------
could you try 2.05 ?

------- Comment #10 From bartron 2003-08-31 15:28:23 0000 -------
  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. 
 

------- Comment #11 From bartron 2003-08-31 15:36:07 0000 -------
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).

------- Comment #12 From SpanKY 2003-09-02 21:16:32 0000 -------
added the patch to 2.05 and 2.06

thanks :)

------- Comment #13 From bartron 2003-09-05 16:59:21 0000 -------
  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!

------- Comment #14 From SpanKY 2003-09-05 18:03:03 0000 -------
*shrug* doesnt matter too much ;)

------- Comment #15 From bartron 2003-09-05 18:14:35 0000 -------
  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.

------- Comment #16 From SpanKY 2003-09-05 18:28:47 0000 -------
i know how the process works, i'm just saying it doesnt matter what the patch
is called ...

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