Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 90316
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WORKSFORME
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Joseph Cohen <joseph.cohen@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dietlibc-0.28-syscall.patch Patch for some systems on dietlibc patch Joseph Cohen 2005-04-24 19:01 0000 765 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 90316 depends on: Show dependency tree
Bug 90316 blocks: 90317
Votes: 0    Show votes for this bug    Vote for this bug

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2005-04-24 19:00 0000
emerge util-vserver-0.30+ on x86_64 will fail because of x86 specific issues.
Also tried patching cache.h file since x86_64 doesn't provide a L1 cache
setting for the kerenl, so setting it "6" can improve some compiling. Resulting
issues can include these messages:
An example Message is:
"In file included from /usr/include/asm/pda.h:3,
                 from /usr/include/asm/../asm-x86_64/current.h:7,
                 from /usr/include/asm/current.h:7,
                 from /usr/include/asm/../asm-x86_64/processor.h:18,
                 from /usr/include/asm/processor.h:7,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/fs.h:12,
                 from src/secure-mount.c:49:
/usr/include/asm/../asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT' 
undeclared here (not in a function)
/usr/include/asm/../asm-x86_64/pda.h:26: error: requested alignment is not a 
constant
In file included from /usr/include/asm/processor.h:7,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/fs.h:12,
                 from src/secure-mount.c:49:
/usr/include/asm/../asm-x86_64/processor.h:65: error: requested alignment is 
not a constant
/usr/include/asm/../asm-x86_64/processor.h:228: error: requested alignment is 
not a constant
In file included from ./ensc_wrappers/wrappers.h:55,
                 from src/secure-mount.c:58:
./ensc_wrappers/wrappers-unistd.hc: In function `Etruncate':
./ensc_wrappers/wrappers-unistd.hc:213: warning: implicit declaration of 
function `truncate64'
./ensc_wrappers/wrappers-unistd.hc: In function `Eftruncate':
./ensc_wrappers/wrappers-unistd.hc:219: warning: implicit declaration of 
function `ftruncate64'
make[2]: *** [src/secure-mount.o] Error 1
make[2]: Leaving directory `/work/downloads/util-vserver-0.30.205'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/downloads/util-vserver-0.30.205'
make: *** [all] Error 2"

Reproducible: Sometimes
Steps to Reproduce:
1. ahh, ACCEPT_KEYWORDS="x86" emerge util-vserver
2. Or, ACCEPT_KEYWORDS="~x86" emerge util-vserver
Actual Results:  
failed to compile

Expected Results:  
emerged util-vserver

This can be resolved by upgrading dietlibc to 0.28+ and on some machines you
will need to apply the attached patch which was found at:

http://vserver.13thfloor.at/Stuff/X86_64/dietlibc-0.28-syscall.patch

------- Comment #1 From Joseph Cohen 2005-04-24 19:01:34 0000 -------
Created an attachment (id=57136) [details]
Patch for some systems on dietlibc

apply against dietlibc-0.28 source, this can help emerging util-vserver on
systems that tried to just emerge the latest dietlibc and failed to emerge
util-vserver.

------- Comment #2 From Simon Stelling (RETIRED) 2005-04-27 01:29:22 0000 -------
sorry, that patch doesn't seem to work, i applied it and got exactly the same
error

------- Comment #3 From Jim Laflin 2005-08-10 15:11:04 0000 -------
This now builds without a patch... OK to close?

Jim

emerge --info follows
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LINGUAS="en_GB"
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="X aac alsa amarok amd64 avi berkdb bitmap-fonts browserplugin cdb cdr crypt
cups curl directfb dvd dvdr dvdread eds encode esd fam foomaticdb fortran gif
gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg junit kde
kdeenablefinal lzw lzw-tiff mad mikmod mozilla mp3 mpeg mplayer msn ncurses nls
nocd nvidia ogg oggvorbis opengl pam pdflib perl pic png python qt quicktime
readline real samba sdl spell ssl symlink tcpd theora tiff truetype
truetype-fonts type1-fonts usb userlocales v4l vcd vorbis xine xml2 xpm xv zlib
linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS

------- Comment #4 From Carlos Silva (RETIRED) 2005-08-11 07:07:08 0000 -------
ok, this now compiles files, so i'll close this.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug