Instead of solving your particular problem, let me draw your attention to
the experimental hardened toolchain:
https://hardened.gentooexperimental.org/trac/secure/

It provides hardened gcc-4.x based on kevquinn's initial effort. I've been
using it without major hassles for several months now (since June).

If you'll ever happen to give up on SELinux, please give a chance to
grsecurity.

Regards,
Dw.
-- 
dr Tóth Attila, Radiológus Szakorvos jelölt, 06-20-825-8057, 06-30-5962-962
Attila Toth MD, Radiologist in Training, +36-20-825-8057, +36-30-5962-962

On Ked, Október 14, 2008 03:45, Matt Harrison wrote:
> It nearly finished compiling glibc, then I got hit with this:
>
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctan.os):
> In function `ctan':
> s_ctan.c:(.text+0x1f2): undefined reference to `__muldc3'
> s_ctan.c:(.text+0x251): undefined reference to `__divdc3'
> s_ctan.c:(.text+0x285): undefined reference to `__muldc3'
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanh.os):
> In function `ctanh':
> s_ctanh.c:(.text+0x1cf): undefined reference to `__divdc3'
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_cpow.os):
> In function `cpow':
> s_cpow.c:(.text+0x6b): undefined reference to `__muldc3'
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanf.os):
> In function `ctanf':
> s_ctanf.c:(.text+0x180): undefined reference to `__muldc3'
> s_ctanf.c:(.text+0x1c5): undefined reference to `__divsc3'
> s_ctanf.c:(.text+0x1fc): undefined reference to `__muldc3'
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanhf.os):
> In function `ctanhf':
> s_ctanhf.c:(.text+0x18b): undefined reference to `__divsc3'
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_cpowf.os):
> In function `cpowf':
> s_cpowf.c:(.text+0x3b): undefined reference to `__mulsc3'
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanl.os):
> In function `ctanl':
> s_ctanl.c:(.text+0x1d2): undefined reference to `__mulxc3'
> s_ctanl.c:(.text+0x266): undefined reference to `__divxc3'
> s_ctanl.c:(.text+0x2c5): undefined reference to `__mulxc3'
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanhl.os):
> In function `ctanhl':
> s_ctanhl.c:(.text+0x1f3): undefined reference to `__divxc3'
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_cpowl.os):
> In function `cpowl':
> s_cpowl.c:(.text+0xb3): undefined reference to `__mulxc3'
> collect2: ld returned 1 exit status
> distcc[25700] ERROR: compile (null) on localhost failed
> make[2]: ***
> [/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm.so]
> Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1/math'
> make[1]: *** [math/others] Error 2
> make[1]: Leaving directory
> `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1'
> make: *** [all] Error 2
>  *
>  * ERROR: sys-libs/glibc-2.6.1 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_compile
>  *             environment, line 3353:  Called eblit-run 'src_compile'
>  *             environment, line 1078:  Called eblit-glibc-src_compile
>  *       src_compile.eblit, line  181:  Called toolchain-glibc_src_compile
>  *       src_compile.eblit, line  122:  Called die
>  * The specific snippet of code:
>  *              make PARALLELMFLAGS="${MAKEOPTS}" || die "make for
> ${ABI} failed"
>  *  The die message:
>  *   make for default failed
>
>
> Any ideas?
>
> Thanks
>
> Matt
>



Reply via email to