WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Compile error secpol_tool.c amd64 libc6

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Compile error secpol_tool.c amd64 libc6
From: Robin van Leeuwen <robin.van.leeuwen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Aug 2005 12:49:14 +0200
Delivery-date: Thu, 18 Aug 2005 15:24:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0.2 (X11/20050611)
Sorry forgot to mention: latets xen-unstable release:
(18-8-2004 20:00 GMT last hg pull -u)

---
I compile on my debian box (3.1 testing)
gcc version 3.3.6 (Debian 1:3.3.6-7)
libc6.3-5.so.3.3.0

and when it came to compiling the tools i got an error:

make secpol_tool
make[3]: Entering directory `/usr/src/xen-unstable.hg/tools/security'
gcc   -m64 -static -Wall -Werror -O3 -fno-strict-aliasing -I. -o
secpol_tool secpol_tool.c
/usr/bin/ld: __libc_errno: TLS definition in
/usr/lib/gcc-lib/x86_64-linux-gnu/3.3.6/../../../../lib64/libc.a(errno.o)
section .tbss mismatches non-TLS reference in
/usr/lib/gcc-lib/x86_64-linux-gnu/3.3.6/../../../../lib64/libc.a(check_fds.o)
/usr/lib/gcc-lib/x86_64-linux-gnu/3.3.6/../../../../lib64/libc.a: could
not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [secpol_tool] Error 1

I resolved it temprarily by builing secpol_tool not static:

gcc   -m64 =Wall -Werror -O3 -fno-strict-aliasing -I. -o secpol_tool
secpol_tool.c



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>