guix-devel
[Top][All Lists]
Advanced

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

Re: Glibc/Hurd building log


From: Ludovic Courtès
Subject: Re: Glibc/Hurd building log
Date: Sat, 05 Apr 2014 15:37:34 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Manolis Ragkousis <address@hidden> skribis:

> I have attached the build.log file, as you told me, along with
> config.log so you can have a better look. There something strange
> going on with the linker.
>
> ;;; note: source file /home/manolis/git_repos/guix/guix/utils.scm
> ;;;       newer than compiled /home/manolis/git_repos/guix/guix/utils.go
> ;;; found fresh local cache at 
> /home/manolis/.cache/guile/ccache/2.0-LE-8-2.0/home/manolis/git_repos/guix/guix/utils.scm.go

It seems that you captured the stderr or ‘guix build’, but note that you
can use ‘guix build --log-file’ instead (see the manual.)

> i686-pc-gnu-gcc   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs 
> -Wl,-dynamic-linker=/gnu/store/wb4c154q9ch76wl5giy1h832sxhpsm46-glibc-hurd-cross-i686-pc-gnu-2.18/lib/ld.so.1
>   -B/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/csu/  
> -Wl,--version-script=/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/libc.map
>  -Wl,-soname=libc.so.0.3 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both 
> -nostdlib -nostartfiles -e __libc_main 
> -L/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build 
> -L/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/math 
> -L/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/elf 
> -L/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/dlfcn 
> -L/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/nss 
> -L/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/nis 
> -L/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/rt 
> -L/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/resolv 
> -L/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/crypt 
> -L/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/libpthread 
> -L/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/mach 
> -L/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/hurd 
> -Wl,-rpath-link=/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build:/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/math:/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/elf:/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/dlfcn:/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/nss:/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/nis:/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/rt:/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/resolv:/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/crypt:/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/libpthread:/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/mach:/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/hurd
>  -o /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/libc.so -T 
> /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/shlib.lds 
> /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/csu/abi-note.o 
> /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/elf/soinit.os 
> /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/libc_pic.os 
> /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/elf/sofini.os 
> /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/elf/interp.os 
> /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/elf/ld.so 
> /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/mach/libmachuser-link.so
>  
> /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/hurd/libhurduser-link.so
>  -lgcc
> /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/libc_pic.os: In 
> function `__fork':
> /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/source/posix/../sysdeps/mach/hurd/fork.c:71:
>  undefined reference to `__start__hurd_atfork_prepare_hook'
> /gnu/store/hl1rsbjzq5pwph850al9y52xrjqjg4f5-gcc-cross-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld:
>  /tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/libc_pic.os: 
> relocation R_386_GOTOFF against undefined hidden symbol 
> `__start__hurd_atfork_prepare_hook' can not be used when making a shared 
> object
> /gnu/store/hl1rsbjzq5pwph850al9y52xrjqjg4f5-gcc-cross-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld:
>  final link failed: Bad value
> collect2: error: ld returned 1 exit status
> ../Makerules:614: recipe for target 
> '/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-7/build/libc.so' failed

I suspect something wrong with the glibc makefile; see the other thread
on bug-hurd.

Ludo’.



reply via email to

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