Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76034 - sys-boot/syslinux should have amd64 keyword
Summary: sys-boot/syslinux should have amd64 keyword
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-29 08:57 UTC by Jean-François Richard
Modified: 2005-02-15 15:13 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 Jean-François Richard 2004-12-29 08:57:05 UTC
It works ok now on amd64 (the last stable version - 2.09)

(NASM, a dependency, is now working on amd64 too)

Reproducible: Always
Steps to Reproduce:
Comment 1 Mike Doty (RETIRED) gentoo-dev 2004-12-29 15:26:12 UTC
are you using syslinux to boot an amd64 box?  please provide more details
Comment 2 Jean-François Richard 2004-12-29 16:05:36 UTC
In fact, I've used the pxelinux part of syslinux to boot nodes on several amd64 clusters.  

Correction : version 2.11 is my final answer.  :)   I don't know about 2.09... I didn't realize that I was using the _~_x86 keyword on it.


Maybe the amd64 ebuild should just install the pxe part for now?
Comment 3 Mike Doty (RETIRED) gentoo-dev 2004-12-29 19:27:54 UTC
neato, I use pxelinux to boot clusters of x86 boxes.  anyway you can test if other parts work?
Comment 4 Jean-François Richard 2004-12-30 08:11:18 UTC
I've never used the other "parts", sorry if I can't test these.

Also, I found out another syslinux amd64 install, which was 2.09 :

sys-boot/syslinux-2.09
dev-lang/nasm-0.98.38
sys-devel/gcc-3.3.4-r1  +X -bootstrap -build -debug +fortran -gcj -hardened +multilib +nls -objc -pic -static (-uclibc)

perhaps multilib is the key here : seems it generates mostly 32 bits code anyway.

(IIRC, we tweaked the ebuild on this one... I can't guarantee amd64-compliance for 2.09 :) )

--
On another distant amd64 box :

Just tried emerging vanilla syslinux-2.11 : it works, but full of "gcc -m32 -W -Wall -march=i386"

With :

sys-devel/gcc-3.4.2-r2  -bootstrap -boundschecking -build -debug -fortran -gcj -gtk -hardened +multilib -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc)
dev-lang/nasm-0.98.38-r1

Again, multilib.

--
Note : I can't access any of these clusters during the holidays, so I cannot reassert that these syslinux are perfectly working for now... I just remember we didn't have any problems with 2.11.  "~amd64" would be a great way to really test it further. :)
Comment 5 Jean-François Richard 2004-12-30 08:17:35 UTC
...by "access" I meant "physical access" == "the right to reboot" :)

Also, looking at 

http://syslinux.zytor.com/history.php

Changes in 2.09:

    * [...]
    * Handle compiling on an x86-64 platform correctly.

Comment 6 Jean-François Richard 2004-12-30 19:10:47 UTC
That was the technique for 2.09 :


--- /usr/portage/sys-boot/syslinux/syslinux-2.09.ebuild 2004-10-07 11:45:04.000000000 -0400
+++ sys-boot/syslinux/syslinux-2.09-r1.ebuild   2004-12-08 20:38:31.000000000 -0500
@@ -10,7 +10,7 @@

 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="-* x86"
+KEYWORDS="x86 amd64"
 IUSE=""

 DEPEND="dev-lang/nasm
@@ -24,6 +24,7 @@
        $(gcc-getCC) -fstack-protector -S -o /dev/null -xc /dev/null >/dev/null 2>&1 && \
                epatch ${FILESDIR}/${PN}-2.09-nossp.patch
        sed -i 's:$(MAKE) -C win32 all::' Makefile
+       sed -i 's:-Os:-O1:' memdisk/Makefile
 }

 src_compile() {
Comment 7 Mike Doty (RETIRED) gentoo-dev 2005-01-01 13:37:12 UTC
2.11 in cvs, 2.09 failed for me.
Comment 8 Jean-François Richard 2005-02-15 15:13:28 UTC
Quick update :

We've installed syslinux-2.13 on amd64 boxes, the PXELinux part works OK.