This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

attempting to cross build glibc-2.4 mips64/nptl in ports


trying to find my way around the new ports system and i'm hoping someone can 
gimme some pointers as to what i'm doing wrong here ...

tar xf glibc-2.4.tar.bz2
tar xf glibc-ports-2.4.tar.bz2
mv glibc-ports-2.4 glibc-2.4/ports
mkdir build
cd build
../glibc-2.4/configure --disable-sanity-checks --enable-add-ons=nptl,ports \
--build=x86_64-pc-linux-gnu --host=mips64-unknown-linux-gnu <custom paths>
make

but then it fails ... i'm pretty sure this is due to mips moving out of main 
and into ports, but ive never tried building in ports before, so i wouldnt be 
surprised if it's me doing it wrong :)

ive attached the full log, but the relevant snippet is here:
mips64-unknown-linux-gnu-gcc 
-mabi=n32 ../ports/sysdeps/unix/sysv/linux/mips/nptl/fork.c -c -std=gnu99 -O2 
-Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes   
-D_IO_MTSAFE_IO   -I../include -I/var/tmp/portage/glibc-2.4/work/build/posix 
-I/var/tmp/portage/glibc-2.4/work/build -I../ports/sysdeps/mips/elf
<snip>
-I.  -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC     
-o /var/tmp/portage/glibc-2.4/work/build/posix/fork.o -MD -MP 
-MF /var/tmp/portage/glibc-2.4/work/build/posix/fork.o.dt 
-MT /var/tmp/portage/glibc-2.4/work/build/posix/fork.o
../ports/sysdeps/unix/sysv/linux/mips/nptl/fork.c:1:26: error: ../i386/fork.c: 
No such file or directory
make[2]: *** [/var/tmp/portage/glibc-2.4/work/build/posix/fork.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.4/work/glibc-2.4/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.4/work/glibc-2.4'
make: *** [all] Error 2
-mike

Attachment: glibc-2.4-mips64.log.bz2
Description: BZip2 compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]