Gentoo Archives: gentoo-hardened

From: Chris S <taskara@××××××××××××.net>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] Mono build failure
Date: Sun, 29 May 2005 23:24:05
Message-Id: 429A4F10.7000005@internode.on.net
In Reply to: Re: [gentoo-hardened] NPTL safe with hardened? by Stephen Bennett
1 Greetings,
2
3 Has anyone been able to build *any* version of mono under hardened profile?
4
5 I've been chasing the error for a while now (all portage versions
6 1.1.4/5/6/7 fail with same error).
7
8 The error is:
9
10 *code*
11 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld:
12 ./.libs/libmono-static.a(domain.o): relocation R_X86_64_TPOFF32 against
13 `a local symbol' can not be used when making a shared object; recompile
14 with -fPIC
15 ./.libs/libmono-static.a: could not read symbols: Bad value
16 collect2: ld returned 1 exit status
17 make[4]: *** [mono] Error 1
18 make[4]: Leaving directory
19 `/var/tmp/portage/mono-1.1.5-r1/work/mono-1.1.5/mono/mini'
20 make[3]: *** [all] Error 2
21 make[3]: Leaving directory
22 `/var/tmp/portage/mono-1.1.5-r1/work/mono-1.1.5/mono/mini'
23 make[2]: *** [all-recursive] Error 1
24 make[2]: Leaving directory
25 `/var/tmp/portage/mono-1.1.5-r1/work/mono-1.1.5/mono'
26 make[1]: *** [all-recursive] Error 1
27 make[1]: Leaving directory `/var/tmp/portage/mono-1.1.5-r1/work/mono-1.1.5'
28 make: *** [all] Error 2
29 *end code*
30
31 emerge info
32
33 *code*
34 Portage 2.0.51.19 (default-linux/amd64/2005.0/no-multilib,
35 gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-hardened-r1 x86_64)
36 =================================================================
37 System uname: 2.6.11-hardened-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+
38 Gentoo Base System version 1.6.11
39 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, May 9 2005,
40 02:14:35)]
41 dev-lang/python: 2.3.4-r1
42 sys-apps/sandbox: [Not Present]
43 sys-devel/autoconf: 2.59-r6, 2.13
44 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
45 sys-devel/binutils: 2.15.92.0.2-r8
46 sys-devel/libtool: 1.5.16
47 virtual/os-headers: 2.6.8.1-r4
48 ACCEPT_KEYWORDS="amd64"
49 AUTOCLEAN="yes"
50 CFLAGS="-O2 -march=opteron -pipe -fomit-frame-pointer"
51 CHOST="x86_64-pc-linux-gnu"
52 CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
53 /usr/share/config /var/bind /var/qmail/control"
54 CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
55 CXXFLAGS="-O2 -march=opteron -pipe -fomit-frame-pointer"
56 DISTDIR="/usr/portage/distfiles"
57 FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
58 GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo"
59 LANG="en_AU.UTF-8"
60 LC_ALL="en_AU.UTF-8"
61 LINGUAS="en_AU en_GB"
62 MAKEOPTS="-j2"
63 PKGDIR="/usr/portage/packages"
64 PORTAGE_TMPDIR="/var/tmp"
65 PORTDIR="/usr/portage"
66 PORTDIR_OVERLAY="/usr/portage/local"
67 SYNC="rsync://mirror.internode.on.net/gentoo-portage/"
68 USE="acl acpi amd64 apache2 berkdb crypt curl dedicated hardened
69 hardenedphp imap innodb ithreads ldap libwww lm_sensors maildir mysql
70 mysqli ncurses nls nptl odbc pam perl php pic pie pthreads python
71 readline sasl sockets spell spl ssl symlink tcpd threads tokenizer
72 unicode usb vhosts xml2 linguas_en_AU linguas_en_GB userland_GNU
73 kernel_linux elibc_glibc"
74 Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
75 *end code*
76
77 Note I am on pure 64bit system.
78 Any ideas or slaps over the head would be most appreciated.
79
80 Cheers,
81 Chris
82 --
83 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] Mono build failure Mike Edenfield <kutulu@××××××.org>
Re: [gentoo-hardened] Mono build failure pageexec@××××××××.hu