This is a discussion on [Long] Help: anything >xorg-x11-6.8.0-r3 fails to compile with +hardened +static within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Trying to set up a hardened desktop from stage1. anything >xorg-x11-6.8.0-r3 fails to compile with +hardened +static. Can't figure ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Trying to set up a hardened desktop from stage1. anything >xorg-x11-6.8.0-r3 fails to compile with +hardened +static. Can't figure out what's the cause. with -r3 my nvidia doesn't work other with any driver except for "vesa" Additionally, nvidia-kernel emerge when built from chrooted environment and now fails to recompile. Sorry for a bit too long message I guess, but want to ensure to supply max info 1)nvidia-kernel: ==> /mnt/gentoo/var/log/portage/2358-nvidia-kernel-1.0.6629-r1.log <== include/linux/fs.h:1632: warning: asm operand 1 probably doesn't match constraints include/linux/mm.h: In function `put_page': include/linux/mm.h:373: warning: asm operand 1 probably doesn't match constraints include/asm/dma-mapping.h: In function `dma_map_single': include/asm/dma-mapping.h:23: warning: asm operand 1 probably doesn't match constraints include/asm/dma-mapping.h: In function `dma_unmap_single': include/asm/dma-mapping.h:32: warning: asm operand 1 probably doesn't match constraints include/asm/dma-mapping.h: In function `dma_map_sg': include/asm/dma-mapping.h:41: warning: asm operand 1 probably doesn't match constraints include/asm/dma-mapping.h:44: warning: asm operand 1 probably doesn't match constraints include/asm/dma-mapping.h: In function `dma_map_page': include/asm/dma-mapping.h:57: warning: asm operand 1 probably doesn't match constraints include/asm/dma-mapping.h: In function `dma_unmap_page': include/asm/dma-mapping.h:65: warning: asm operand 1 probably doesn't match constraints include/asm/dma-mapping.h: In function `dma_unmap_sg': include/asm/dma-mapping.h:73: warning: asm operand 1 probably doesn't match constraints include/linux/highmem.h: In function `memclear_highpage_flush': include/linux/highmem.h:61: warning: asm operand 1 probably doesn't match constraints make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.o] Błąd 1 make[2]: *** [_module_/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv] Błąd 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Błąd 1 make: *** [module] Błąd 2 !!! ERROR: media-video/nvidia-kernel-1.0.6629-r1 failed. !!! Function linux-mod_src_compile, Line 340, Exitcode 2 !!! Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module. !!! If you need support, post the topmost build error, NOT this status message. 2)xorg-x11 ==> /mnt/gentoo/var/log/portage/2177-xorg-x11-6.8.0-r4.log <== : multiple definition of `mfbGetInverseAlu' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbgc.o)(.text+0xbac): first defined here mfb/libmfb.a(mfbfont.o)(.text+0x49): In function `mfbRealizeFontWeak': : multiple definition of `mfbRealizeFontWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbfont.o)(.text+0x49): first defined here mfb/libmfb.a(mfbfont.o)(.text+0xdc): In function `mfbUnrealizeFontWeak': : multiple definition of `mfbUnrealizeFontWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbfont.o)(.text+0xdc): first defined here mfb/libmfb.a(mfbpushpxl.o)(.text+0x60b): In function `mfbPushPixelsWeak': : multiple definition of `mfbPushPixelsWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbpushpxl.o)(.text+0x60e): first defined here .../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86xv.o)(.data.rel+0x0): undefined reference to `XvGetScreenIndex' .../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86xv.o)(.data.rel+0x4): undefined reference to `XvGetRTPort' .../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86xv.o)(.data.rel+0x8): undefined reference to `XvScreenInit' collect2: ld returned 1 exit status make[4]: *** [Xorg] Błąd 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs/Xserver' make[3]: *** [all] Błąd 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs'make[2]: *** [all] Błąd 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc' make[1]: *** [World] Błąd 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc' make: *** [World] Błąd 2 !!! ERROR: x11-base/xorg-x11-6.8.0-r4 failed. !!! Function src_compile, Line 266, Exitcode 2 !!! make World failed !!! If you need support, post the topmost build error, NOT this status message. ==> /mnt/gentoo/var/log/portage/2187-xorg-x11-6.8.0-r4.log <== : multiple definition of `mfbUnrealizeFontWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbfont.o)(.text+0xdc): first defined here mfb/libmfb.a(maskbits.o)(.text+0x192): In function `mergeGetRopBits': : multiple definition of `mergeGetRopBits' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(maskbits.o)(.text+0x192): first defined here mfb/libmfb.a(mfbpushpxl.o)(.text+0x60b): In function `mfbPushPixelsWeak': : multiple definition of `mfbPushPixelsWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbpushpxl.o)(.text+0x60e): first defined here mfb/libmfb.a(mfbclip.o)(.text+0x66d): In function `mfbPixmapToRegionWeak': : multiple definition of `mfbPixmapToRegionWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbclip.o)(.text+0x6ee): first defined here mfb/libmfb.a(mfbmisc.o)(.text+0xc5): In function `mfbQueryBestSizeWeak': : multiple definition of `mfbQueryBestSizeWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbmisc.o)(.text+0xc5): first defined here collect2: ld returned 1 exit status make[4]: *** [Xorg] Błąd 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs/Xserver' make[3]: *** [all] Błąd 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs'make[2]: *** [all] Błąd 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc' make[1]: *** [World] Błąd 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc' make: *** [World] Błąd 2 !!! ERROR: x11-base/xorg-x11-6.8.0-r4 failed. !!! Function src_compile, Line 266, Exitcode 2 !!! make World failed !!! If you need support, post the topmost build error, NOT this status message. ==> /mnt/gentoo/var/log/portage/2236-xorg-x11-6.8.0-r4.log <== : multiple definition of `mfbUnrealizeFontWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbfont.o)(.text+0xdc): first defined here mfb/libmfb.a(maskbits.o)(.text+0x192): In function `mergeGetRopBits': : multiple definition of `mergeGetRopBits' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(maskbits.o)(.text+0x192): first defined here mfb/libmfb.a(mfbpushpxl.o)(.text+0x60b): In function `mfbPushPixelsWeak': : multiple definition of `mfbPushPixelsWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbpushpxl.o)(.text+0x60e): first defined here mfb/libmfb.a(mfbclip.o)(.text+0x66d): In function `mfbPixmapToRegionWeak': : multiple definition of `mfbPixmapToRegionWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbclip.o)(.text+0x6ee): first defined here mfb/libmfb.a(mfbmisc.o)(.text+0xc5): In function `mfbQueryBestSizeWeak': : multiple definition of `mfbQueryBestSizeWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbmisc.o)(.text+0xc5): first defined here collect2: ld returned 1 exit status make[4]: *** [Xorg] Błąd 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs/Xserver' make[3]: *** [all] Błąd 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs'make[2]: *** [all] Błąd 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc' make[1]: *** [World] Błąd 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc' make: *** [World] Błąd 2 !!! ERROR: x11-base/xorg-x11-6.8.0-r4 failed. !!! Function src_compile, Line 266, Exitcode 2 !!! make World failed !!! If you need support, post the topmost build error, NOT this status message. ==> /mnt/gentoo/var/log/portage/2260-xorg-x11-6.8.0-r4.log <== : multiple definition of `mfbUnrealizeFontWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbfont.o)(.text+0xdc): first defined here mfb/libmfb.a(maskbits.o)(.text+0x192): In function `mergeGetRopBits': : multiple definition of `mergeGetRopBits' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(maskbits.o)(.text+0x192): first defined here mfb/libmfb.a(mfbpushpxl.o)(.text+0x60b): In function `mfbPushPixelsWeak': : multiple definition of `mfbPushPixelsWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbpushpxl.o)(.text+0x60e): first defined here mfb/libmfb.a(mfbclip.o)(.text+0x66d): In function `mfbPixmapToRegionWeak': : multiple definition of `mfbPixmapToRegionWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbclip.o)(.text+0x6ee): first defined here mfb/libmfb.a(mfbmisc.o)(.text+0xc5): In function `mfbQueryBestSizeWeak': : multiple definition of `mfbQueryBestSizeWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbmisc.o)(.text+0xc5): first defined here collect2: ld returned 1 exit status make[4]: *** [Xorg] Error 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs/Xserver' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs'make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.8.0-r4 failed. !!! Function src_compile, Line 266, Exitcode 2 !!! make World failed !!! If you need support, post the topmost build error, NOT this status message. ==> /mnt/gentoo/var/log/portage/2306-xorg-x11-6.8.0-r4.log <== : multiple definition of `mfbGetInverseAlu' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbgc.o)(.text+0xbac): first defined here mfb/libmfb.a(mfbfont.o)(.text+0x49): In function `mfbRealizeFontWeak': : multiple definition of `mfbRealizeFontWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbfont.o)(.text+0x49): first defined here mfb/libmfb.a(mfbfont.o)(.text+0xdc): In function `mfbUnrealizeFontWeak': : multiple definition of `mfbUnrealizeFontWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbfont.o)(.text+0xdc): first defined here mfb/libmfb.a(mfbpushpxl.o)(.text+0x60b): In function `mfbPushPixelsWeak': : multiple definition of `mfbPushPixelsWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbpushpxl.o)(.text+0x60e): first defined here .../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86xv.o)(.data.rel+0x0): undefined reference to `XvGetScreenIndex' .../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86xv.o)(.data.rel+0x4): undefined reference to `XvGetRTPort' .../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86xv.o)(.data.rel+0x8): undefined reference to `XvScreenInit' collect2: ld returned 1 exit status make[4]: *** [Xorg] Error 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs/Xserver' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs'make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.8.0-r4 failed. !!! Function src_compile, Line 266, Exitcode 2 !!! make World failed !!! If you need support, post the topmost build error, NOT this status message. ==> /mnt/gentoo/var/log/portage/2307-xorg-x11-6.8.1.902.log <== : multiple definition of `mfbUnrealizeFontWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbfont.o)(.text+0xdc): first defined here mfb/libmfb.a(maskbits.o)(.text+0x192): In function `mergeGetRopBits': : multiple definition of `mergeGetRopBits' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(maskbits.o)(.text+0x192): first defined here mfb/libmfb.a(mfbpushpxl.o)(.text+0x60b): In function `mfbPushPixelsWeak': : multiple definition of `mfbPushPixelsWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbpushpxl.o)(.text+0x60e): first defined here mfb/libmfb.a(mfbclip.o)(.text+0x66d): In function `mfbPixmapToRegionWeak': : multiple definition of `mfbPixmapToRegionWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbclip.o)(.text+0x6ee): first defined here mfb/libmfb.a(mfbmisc.o)(.text+0xc5): In function `mfbQueryBestSizeWeak': : multiple definition of `mfbQueryBestSizeWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbmisc.o)(.text+0xc5): first defined here collect2: ld returned 1 exit status make[4]: *** [Xorg] Error 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.1.902/work/xc/programs/Xserver' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.1.902/work/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.1.902/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.1.902/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.8.1.902 failed. !!! Function src_compile, Line 263, Exitcode 2 !!! make World failed !!! If you need support, post the topmost build error, NOT this status message. ==> /mnt/gentoo/var/log/portage/2319-xorg-x11-6.8.0-r4.log <== : multiple definition of `mfbUnrealizeFontWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbfont.o)(.text+0xdc): first defined here mfb/libmfb.a(maskbits.o)(.text+0x192): In function `mergeGetRopBits': : multiple definition of `mergeGetRopBits' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(maskbits.o)(.text+0x192): first defined here mfb/libmfb.a(mfbpushpxl.o)(.text+0x60b): In function `mfbPushPixelsWeak': : multiple definition of `mfbPushPixelsWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbpushpxl.o)(.text+0x60e): first defined here mfb/libmfb.a(mfbclip.o)(.text+0x66d): In function `mfbPixmapToRegionWeak': : multiple definition of `mfbPixmapToRegionWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbclip.o)(.text+0x6ee): first defined here mfb/libmfb.a(mfbmisc.o)(.text+0xc5): In function `mfbQueryBestSizeWeak': : multiple definition of `mfbQueryBestSizeWeak' .../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a(mfbmisc.o)(.text+0xc5): first defined here collect2: ld returned 1 exit status make[4]: *** [Xorg] Error 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs/Xserver' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs'make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.8.0-r4 failed. !!! Function src_compile, Line 266, Exitcode 2 !!! make World failed !!! If you need support, post the topmost build error, NOT this status message. |
| ||||
| On Sat, 29 Jan 2005 17:36:12 +0100, PiotrAF wrote: > Trying to set up a hardened desktop from stage1. anything >>xorg-x11-6.8.0-r3 fails to compile with +hardened +static. > Can't figure out what's the cause. with -r3 my nvidia doesn't work other > with any driver except for "vesa" > Additionally, nvidia-kernel emerge when built from chrooted environment > and now fails to recompile. Anyone?? |