bug-guix
[Top][All Lists]
Advanced

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

Re: Porting to mips64el


From: Nikita Karetnikov
Subject: Re: Porting to mips64el
Date: Sun, 20 Jan 2013 02:39:10 -0500

> Great!  Crossing fingers.  ;-)

# cat /usr/local/etc/nix/nix.conf
build-users-group=nixbld

# ./pre-inst-env guix-build -K \
> -e '(@ (gnu packages make-bootstrap) %bootstrap-tarballs)' \
> --system=mips64el-linux

[...]

I've tried to compile and run the following simple program:

#include <stdio.h>
int main() { printf("Ok\n"); return(0); }

I used the command:

        gcc -o try -O2 -fno-strict-aliasing -pipe -fstack-protector 
-I/nix/store/zcfiac107h1nji9sdiv2m1dzpvvagrh5-glibc-2.13/include 
-fstack-protector -L/nix/store/zcfiac107h1nji9sdiv2m1dzpvvagrh5-glibc-2.13/lib 
try.c -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
         ./try

and I got the following output:

/nix/store/g8b8alrsy6fw1g4r6jkycpy291w2403a-binutils-2.21.1a/bin/ld: cannot 
find -lgdbm
/nix/store/g8b8alrsy6fw1g4r6jkycpy291w2403a-binutils-2.21.1a/bin/ld: cannot 
find -ldb
collect2: ld returned 1 exit status
I can't compile the test program.
(The supplied flags or libraries might be incorrect.)
 
You have a BIG problem.  Shall I abort Configure [y]  
Ok.  Stopping Configure.
phase `configure' failed after 19 seconds
builder for `/nix/store/md9lfvkydyapd3pji76gg1blsgs37a4m-perl-5.16.1.drv' 
failed; keeping build directory 
`/tmp/nix-build-md9lfvkydyapd3pji76gg1blsgs37a4m-perl-5.16.1.drv-0'
builder for `/nix/store/md9lfvkydyapd3pji76gg1blsgs37a4m-perl-5.16.1.drv' 
failed with exit code 1
@ build-failed /nix/store/md9lfvkydyapd3pji76gg1blsgs37a4m-perl-5.16.1.drv 
/nix/store/l1xfmb4f5vz15qd02dh9lqvv1k9q0gwg-perl-5.16.1 1 builder for 
`/nix/store/md9lfvkydyapd3pji76gg1blsgs37a4m-perl-5.16.1.drv' failed with exit 
code 1
cannot build derivation 
`/nix/store/xww122kbc08qcyaika8pf03x273rvph7-linux-libre-headers-3.3.8.drv': 1 
dependencies couldn't be built
cannot build derivation 
`/nix/store/qsivfcrjlnsxrn5vs4xv3zsh4djbl9li-bootstrap-tarballs-0.drv': 1 
dependencies couldn't be built
error: build failed: build of 
`/nix/store/qsivfcrjlnsxrn5vs4xv3zsh4djbl9li-bootstrap-tarballs-0.drv' failed

Nikita

Attachment: pgpjqkV2HQie0.pgp
Description: PGP signature


reply via email to

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