Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82217 - all grub compiles fail: "start.S:399: Error: missing ')'"
Summary: all grub compiles fail: "start.S:399: Error: missing ')'"
Status: RESOLVED DUPLICATE of bug 73499
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-16 01:24 UTC by Ryan Hill (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Ryan Hill (RETIRED) gentoo-dev 2005-02-16 01:24:45 UTC
this weekend i decided to upgrade my grub to version 0.95.20040823.  the compile failed with the message below.  i attempted to build the 0.94-r2 version and got the same error, and finally tried to emerge the same version i actually currently had installed and still it errored out.  i grabbed the grub 0.96 source from gnu.org and tried to compile it manually and it died at the same spot.

figuring i had a system issue, i've wiped my drive and am just now finishing the install process, and guess what. ;]

fun fun fun.

this new install is from a 2005.0 stage 3 tarball (the original was 2004.2), and i haven't upgraded/updated any packages yet - just been following the handbook.  also, the odd thing is i was just working on grub maybe a week or so ago, patching it to pass maketest, and everything worked fine at the time.

let me know if you need any other information. =]

Reproducible: Always
Steps to Reproduce:
1. emerge -aDtv =grub-0.94-r1
2. emerge -aDtv =grub-0.94-r2
3. emerge -aDtv =grub-0.95.20040823

Actual Results:  
here is the error for 0.95:
---------------------------
gcc  -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1
-DSUPPORT_GRAPHICS=1 -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall
-Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1
-falign-loops=1 -falign-functions=1 -Wundef -DNDEBUG -minline-all-stringops -c
-o start_exec-start.o `test -f 'start.S' || echo './'`start.S
start.S: Assembler messages:
start.S:399: Error: missing ')'
start.S:399: Warning: rest of line ignored; first ignored character is `K'
make[3]: *** [start_exec-start.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/grub-0.95.20040823/work/grub-0.95.20040823/stage2'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/grub-0.95.20040823/work/grub-0.95.20040823/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/grub-0.95.20040823/work/grub-0.95.20040823'
make: *** [all] Error 2

!!! ERROR: sys-boot/grub-0.95.20040823 failed.
!!! Function src_compile, Line 99, Exitcode 2
!!! making regular stuff
!!! If you need support, post the topmost build error, NOT this status message.

-------------------------

but each version gives the exact same error: start.S:399: Error: missing ')'

Expected Results:  
happy dance

current system:

root ~ # emerge info
Portage 2.0.51-r3 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.10-lxnay3 i686)
=================================================================
System uname: 2.6.10-lxnay3 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.6.10
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo
ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 readline tcpd"
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2005-02-16 05:23:11 UTC
fixed.  for the solution, see bug 73499.  sorry bout the dupe, but talk about obscure. i would have never figured that one out.  as the reporter mentioned, unsetting BLOCK_SIZE did solve the problem.  it should be trivial to work around this in the ebuild - i'll get a set of patches done for the versions in the tree and hopefully help move 0.96 along a bit. ;]
Comment 2 SpanKY gentoo-dev 2005-02-16 20:22:49 UTC
np

*** This bug has been marked as a duplicate of 73499 ***