Greetings,
Has anyone been able to build *any* version of mono under hardened profile?
I've been chasing the error for a while now (all portage versions
1.1.4/5/6/7 fail with same error).
The error is:
*code*
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/libmono-static.a(domain.o): relocation R_X86_64_TPOFF32 against
`a local symbol' can not be used when making a shared object; recompile
with -fPIC
./.libs/libmono-static.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [mono] Error 1
make[4]: Leaving directory
`/var/tmp/portage/mono-1.1.5-r1/work/mono-1.1.5/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/var/tmp/portage/mono-1.1.5-r1/work/mono-1.1.5/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mono-1.1.5-r1/work/mono-1.1.5/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mono-1.1.5-r1/work/mono-1.1.5'
make: *** [all] Error 2
*end code*
emerge info
*code*
Portage 2.0.51.19 (default-linux/amd64/2005.0/no-multilib,
gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-hardened-r1 x86_64)
=================================================================
System uname: 2.6.11-hardened-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.11
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, May 9 2005,
02:14:35)]
dev-lang/python: 2.3.4-r1
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r8
sys-devel/libtool: 1.5.16
virtual/os-headers: 2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=opteron -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=opteron -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo"
LANG="en_AU.UTF-8"
LC_ALL="en_AU.UTF-8"
LINGUAS="en_AU en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://mirror.internode.on.net/gentoo-portage/"
USE="acl acpi amd64 apache2 berkdb crypt curl dedicated hardened
hardenedphp imap innodb ithreads ldap libwww lm_sensors maildir mysql
mysqli ncurses nls nptl odbc pam perl php pic pie pthreads python
readline sasl sockets spell spl ssl symlink tcpd threads tokenizer
unicode usb vhosts xml2 linguas_en_AU linguas_en_GB userland_GNU
kernel_linux elibc_glibc"
Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
*end code*
Note I am on pure 64bit system.
Any ideas or slaps over the head would be most appreciated.
Cheers,
Chris
--
[email protected] mailing list