unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Michael Zucchi <notzed@gmail.com>
To: Julien Lepiller <julien@lepiller.eu>, help-guix@gnu.org
Subject: Re: build issues w/ system glibc
Date: Sun, 22 Dec 2019 07:36:26 +1030	[thread overview]
Message-ID: <1686f055-f357-f49f-5754-6a58a951be43@gmail.com> (raw)
In-Reply-To: <889544CC-5227-45AB-BDB4-A52C380598E1@lepiller.eu>

On 19/12/19 6:33 pm, Julien Lepiller wrote:
> Le 19 décembre 2019 00:50:18 GMT+01:00, Michael Zucchi <notzed@gmail.com> a écrit :
>> Morning,
>>
>> Just a couple of comments re: building from git.  Well that was the
>> intention, but it's turned into a failure to build.
>>
>>
>> Hi, have you tried runinhg everything in a pure environment, from the bootstrap? Guix environment guix --pure should give you an environment where none of your system is visible.
>>
Hi Julien,

Ok I did that (again not mentioned in readme), sourced the profile and 
tried again from scratch, same error.  libc is installed in the 
directory LIBRARY_PATH is set to by the guix profile script.

This is the output running the link line manually with "g++ -v", it is 
unfortunately rather difficult to read.

notzed@shitzone:~/src/guix$ g++ -v -Wall -std=c++11 -g -O2   -o 
guix-daemon nix/nix-daemon/guix_daemon-nix-daemon.o 
nix/nix-daemon/guix_daemon-guix-daemon.o libstore.a libutil.a 
libformat.a -lz 
-L/gnu/store/i6l1579g80387rda658jy9cfqq82643d-sqlite-3.28.0/lib 
-lsqlite3 -L/usr/lib64 -lgcrypt -lbz2
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/9.2.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with:
Thread model: posix
gcc version 9.2.0 (GCC)
COMPILER_PATH=/gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/9.2.0/:/gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/9.2.0/:/gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/:/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/:/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/
LIBRARY_PATH=/gnu/store/fkxd3lilg97sn5qb2xsf80f76bjghcs4-profile/lib/:/gnu/store/x6ybr0rx2mz3ywdj7ai3xfh3p5ybd8ki-profile/lib/:/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/:/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/../../../:/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib
COLLECT_GCC_OPTIONS='-v' '-Wall' '-std=c++11' '-g' '-O2' '-o' 
'guix-daemon' 
'-L/gnu/store/i6l1579g80387rda658jy9cfqq82643d-sqlite-3.28.0/lib' 
'-L/usr/lib64' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
  /gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/9.2.0/collect2 -plugin /gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/9.2.0/liblto_plugin.so -plugin-opt=/gnu/store/3pa3gmb9np87iz7sjrs405kbbj9bx74m-gcc-9.2.0/libexec/gcc/x86_64-unknown-linux-gnu/9.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQDgVTV.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/ld-linux-x86-64.so.2 -o guix-daemon /gnu/store/fkxd3lilg97sn5qb2xsf80f76bjghcs4-profile/lib/crt1.o /gnu/store/fkxd3lilg97sn5qb2xsf80f76bjghcs4-profile/lib/crti.o /gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/crtbegin.o -L/gnu/store/i6l1579g80387rda658jy9cfqq82643d-sqlite-3.28.0/lib -L/usr/lib64 -L/gnu/store/fkxd3lilg97sn5qb2xsf80f76bjghcs4-profile/lib -L/gnu/store/x6ybr0rx2mz3ywdj7ai3xfh3p5ybd8ki-profile/lib -L/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0 -L/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/../../.. -L/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib nix/nix-daemon/guix_daemon-nix-daemon.o nix/nix-daemon/guix_daemon-guix-daemon.o libstore.a libutil.a libformat.a -lz -lsqlite3 -lgcrypt -lbz2 -lstdc++ -lm -lgcc_s -lgcc -L/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib -rpath=/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib -rpath=/gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib -lgcc_s -lc -lgcc_s -lgcc /gnu/store/347y0zr1a9s2f5pkcncgi3gd0r33qq81-gcc-9.2.0-lib/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/crtend.o /gnu/store/fkxd3lilg97sn5qb2xsf80f76bjghcs4-profile/lib/crtn.o
guile: warning: failed to install locale
ld: 
/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/libpthread.so.0: 
undefined reference to `__libc_vfork@GLIBC_PRIVATE'
collect2: error: ld returned 1 exit status
notzed@shitzone:~/src/guix$

  reply	other threads:[~2019-12-21 21:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18 23:50 build issues w/ system glibc Michael Zucchi
2019-12-19  8:03 ` Julien Lepiller
2019-12-21 21:06   ` Michael Zucchi [this message]
2019-12-22  9:05     ` Julien Lepiller
2019-12-22 23:06       ` Michael Zucchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1686f055-f357-f49f-5754-6a58a951be43@gmail.com \
    --to=notzed@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).