Bug 78482 - both syslinux-[2.13,3.07] compilation fails.
|
Bug#:
78482
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: blocker
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: solar@gentoo.org
|
Reported By: fxlamare@wanadoo.fr
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: both syslinux-[2.13,3.07] compilation fails.
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-01-18 02:26 0000
|
I need syslinux for mondo-rescue but installation fails.
HP Proliant ML350@3GHz, 1GB RAM, RAID-5.
Linux 2.6.10-hardened-r1
Reproducible: Always
Steps to Reproduce:
1.emerge syslinux
2.
3.
Expected Results:
see attached file
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.10-hardened-r1 i686)
=================================================================
System uname: 2.6.10-hardened-r1 i686 Intel(R) Xeon(TM) CPU 3.00GHz
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.92.0.2-r1
Headers: sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.b
elnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="apache2 apm avi berkdb bitmap-fonts cdr crypt cups encode f77 font-server f
oomaticdb fortran gdbm gif gpm gtk2 hardened imlib jpeg ldap libg++ libwww mad m
aildir mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl pn
g python quicktime readline sdl slang snmp spell sse sse2 ssl svga tcpd truetype
truetype-fonts type1-fonts x86 xml2 xmms xv zlib"
iggy claims the patch isnt needed anymore
Build failures confirmed with hardened specs (somebody remove the filterting of
fstack) ;/
I'll hack on it and post something here
re comment #2 iggy is wrong. A patch is still needed. But now it's missing
~!@#$%^ and cvs.gentoo.org seems to be down.
If I recall right every makefile needs to have -fno-stack-protector added and
memdisk/dos utils have to be disabled.
I'll hunt for the old patch to see what I had todo before.
Note: make BSUBDIRS="" installer
We can remove the BSUBDIRS="" if we append -fno-pie to the makefiles of the
programs that have the BREG errors.
I ment the src_compile() vs the src_unpack()
Anyway just tested again..
And oddly enough the BREG errors are not showing up that I noticed before.
so the first patch is all that appears to be needed at this time. (perhaps I got it to as a result of doing a make clean before a make)
(doing a make clean before building yeilds the following results)
nasm -f bin -o comecho.com -l comecho.lst comecho.asm
/bin/sh: pngtopnm: command not found
gcc -m32 -ffreestanding -W -Wall -fno-stack-protector -march=i386 -Os -fomit-frame-pointer -I../com32/include -c -o conio.o conio.c
../ppmtolss16: stdin is not a PNM file at ../ppmtolss16 line 215.
make[1]: *** [syslogo.lss] Error 9
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/space/portage-tmp/portage/syslinux-3.07/work/syslinux-3.07/sample'
spanky.. Should this ebuild which does not use autotools at all make use of the
toolchain-func.eclass ?
spanky says no toolchain-funcs needed here.
iggy I'm hijacking this bug from you.