[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libpthread's Makefile not working properly
From: |
Manolis Ragkousis |
Subject: |
libpthread's Makefile not working properly |
Date: |
Thu, 9 Jun 2016 15:18:21 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
Hello everyone,
There is a strange bug that has appeared while I try to cross-build
glibc+libpthread from a GNU/Linux machine.
When glibc's make tries to create libpthread.so I get undefined
references. [1]
Normally libpthread's Makefile sets "LDLIBS-pthread.so = -lihash" which
is used by the Glibc's make rules to link everything properly. In our
case is seems that it doesn't have any effect outside libpthread's
Makefile.
This problem only appears when Guix tries to cross-build it. Outside
Guix with the same cross-toolchain there is no issue.
I have attached the environment files for both cases. I have also
attached the build log for the guix build.
Currently I am using a hack to make it work (Set LDLIBS-pthread.so as an
environment variable with the correct value) but I would prefer if we
could find a proper solution.
Thank you,
Manolis
[1] http://paste.lisp.org/display/317403
environment-variables
Description: Text document
outside-guix-env
Description: Text document
wal504arxc2b5md2r8sbl5wbqpvlwq-glibc-cross-i586-pc-gnu-2.19.drv.bz2
Description: application/bzip
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- libpthread's Makefile not working properly,
Manolis Ragkousis <=