[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error building Mach on 64-bit Gentoo

From: Richard Braun
Subject: Re: error building Mach on 64-bit Gentoo
Date: Tue, 3 Jan 2012 10:39:25 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Sat, Dec 31, 2011 at 06:35:58PM -0800, gian pendola wrote:
> Hello,
> My host system is Gentoo, 64-bit. Already installed a Hurd image using 
> qemu-KVM, and decided to build Mach from scratch on the Gentoo system. 
> Followed the instructions in:
> (not Debian),
> I get the following:
> gcc -m32 -nostdlib -nostartfiles -r -static \
>   -o clib-routines.o `sed 's/^/-Wl,-u,/' < gnumach-undef` -x c /dev/null -lc 
> -lgcc
> ld -melf_i386  --defsym _START=0x100000 -T '..'/i386/ldscript  -o gnumach  
> gnumach.o clib-routines.o 
> clib-routines.o: In function `strcpy':
> (.text+0x11ea8): multiple definition of `strcpy'
> gnumach.o:/root/gnumach/build/../kern/strings.c:118: first defined here

It looks like, for some unknown reason, gnumach-undef contains strcpy
and other functions. The symbols normally contained in clib-routines.o
are defined in (clib_routines).

> I'm using glibc 2.12.2, gcc 4.5.3. 

Can you try with gcc 4.4 and report any difference ?

Richard Braun

reply via email to

[Prev in Thread] Current Thread [Next in Thread]