View previous topic :: View next topic |
Author |
Message |
NTU Apprentice
Joined: 17 Jul 2015 Posts: 187
|
Posted: Sat Aug 19, 2017 12:58 am Post subject: Unable to update Glibc (portage error) |
|
|
Hello, I don't think this is a bug with the ebuild itself nor even a Glibc bug, but probably some kind of bug I've created in my own system. Any idea what could have caused this?
Code: | x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -fuse-ld=bfd pt-fork.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Wundef -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -frounding-math -fstack-protector-all -pipe -Wstrict-prototypes -Wold-style-definition -fPIC -Wa,-mtune=i686 -ftls-model=initial-exec -I../include -I/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl -I/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/i386/i686/nptl -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/i386/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libpthread -include ../include/libc-symbols.h -DPIC -DSHARED -o /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/pt-fork.os -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/pt-fork.os.dt -MT /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/pt-fork.os
x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -fuse-ld=bfd pt-vfork.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Wundef -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -frounding-math -fstack-protector-all -pipe -Wstrict-prototypes -Wold-style-definition -fPIC -Wa,-mtune=i686 -ftls-model=initial-exec -I../include -I/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl -I/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/i386/i686/nptl -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/i386/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libpthread -include ../include/libc-symbols.h -DPIC -DSHARED -o /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/pt-vfork.os -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/pt-vfork.os.dt -MT /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/pt-vfork.os
(echo '#define SYSCALL_NAME write'; \
echo '#define SYSCALL_NARGS 3'; \
echo '#define SYSCALL_SYMBOL __libc_write'; \
echo '#define SYSCALL_CANCELLABLE 1'; \
echo '#define SYSCALL_NOERRNO 0'; \
echo '#define SYSCALL_ERRVAL 0'; \
echo '#include <syscall-template.S>'; \
echo 'weak_alias (__libc_write, __write)'; \
echo 'hidden_weak (__write)'; \
echo 'weak_alias (__libc_write, write)'; \
echo 'hidden_weak (write)'; \
) | x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -fuse-ld=bfd -c -I../include -I/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl -I/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/i386/i686/nptl -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/i386/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libpthread -include ../include/libc-symbols.h -DPIC -DSHARED -DASSEMBLER -DGAS_SYNTAX -Werror=undef -Wa,--noexecstack -Werror=undef -Wa,--noexecstack -Wa,-mtune=i686 -o /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/write.os -x assembler-with-cpp - -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/write.os.dt -MT /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/write.os
(echo '#define SYSCALL_NAME read'; \
echo '#define SYSCALL_NARGS 3'; \
echo '#define SYSCALL_SYMBOL __libc_read'; \
echo '#define SYSCALL_CANCELLABLE 1'; \
echo '#define SYSCALL_NOERRNO 0'; \
echo '#define SYSCALL_ERRVAL 0'; \
echo '#include <syscall-template.S>'; \
echo 'weak_alias (__libc_rea[01m[Kpt-vfork.c:41:3:[m[K [01;31m[Kerror: [m[K#error "must write pt-vfork for this machine or get IFUNC support"
# [01;31m[Kerror[m[K "must write pt-vfork for this machine or get IFUNC support"
[01;31m[K^~~~~[m[K
d, __read)'; \
echo 'hidden_weak (__read)'; \
echo 'weak_alias (__libc_read, read)'; \
echo 'hidden_weak (read)'; \
) | x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -fuse-ld=bfd -c -I../include -I/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl -I/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/i386/i686/nptl -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/i386/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu -I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc-modules.h -DMODULE_NAME=libpthread -include ../include/libc-symbols.h -DPIC -DSHARED -DASSEMBLER -DGAS_SYNTAX -Werror=undef -Wa,--noexecstack -Werror=undef -Wa,--noexecstack -Wa,-mtune=i686 -o /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/read.os -x assembler-with-cpp - -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/read.os.dt -MT /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/read.os
make[2]: *** [../o-iterator.mk:9: /var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/pt-vfork.os] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.25-r3/work/glibc-2.25/nptl'
make[1]: *** [Makefile:216: nptl/subdir_lib] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.25-r3/work/glibc-2.25'
make: *** [Makefile:9: all] Error 2
make: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.25-r3/work/build-x86-x86_64-pc-linux-gnu-nptl'
[31;01m*[0m ERROR: sys-libs/glibc-2.25-r3::gentoo failed (compile phase):
[31;01m*[0m emake failed
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=sys-libs/glibc-2.25-r3::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.25-r3::gentoo'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.25-r3/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.25-r3/temp/environment'.
[31;01m*[0m Working directory: '/var/tmp/portage/sys-libs/glibc-2.25-r3/work/glibc-2.25'
[31;01m*[0m S: '/var/tmp/portage/sys-libs/glibc-2.25-r3/work/glibc-2.25' |
Googling the error message "must write pt-vfork for this machine or get IFUNC support" brings up some results about aarch64 (which I've been working on) but all of my aarch64 development is completely unrelated to my native Linux system. I even tried an emerge --oneshot of the current version of glibc I'm running right now (sys-libs/glibc-2.25-r2) but all three; -r2, -r3 and -r4 fail with the same error. What is going on and what could I have done to cause this? Any suggestions? emerge --info looks fine, nothing interesting there. Thanks!
-- edit by NeddySeagoon --
Follow up merged into original post and follow up deleted.
Tue Aug 22, 2017 4:35 am
Should I open up a bug report? I ran emerge --sync again and did a oneshot install of sandbox and portage, glibc still won't build on my native system so I'm stuck with 2.25-r2. I thought this was related to aarch64 development but I deleted all my cross toolchains and all that, and it's still broken. Is nobody else having this problem? Switching to a non-multilib profile results in the same vfork error. Running out of ideas.
-- edit by NeddySeagoon --
Follow up merged into original post and follow up deleted.
Posted: Sat Sep 16, 2017 8:16 pm
This ended up on page 4, can I bump this one more time?
Now back in the unanswered pasts search
Last edited by NTU on Tue Aug 22, 2017 4:37 am; edited 1 time in total |
|
Back to top |
|
|
christoph_peter_s Tux's lil' helper
Joined: 30 Nov 2015 Posts: 108
|
Posted: Mon Apr 30, 2018 10:46 pm Post subject: |
|
|
Hi there,
is there already some progress? I did run into this issue today. The Gentoo PC is upgraded to profile 17.0 according to the recommendations sent as portage news. Now I wanted to install a cross compilation tool chain, as I've messed up my Cubietruck. But all my approaches end at the "must write pt-vfork for this machine or get IFUNC support" issue, as I obviously need a glibc for the arm CPU.
Do I understand this correctly, that the currently active profile of the host system is also being used for the cross target? That would be pretty bad, as I think these issues most likely are the root cause for Gentoo on arm still staying at the old profile. So maybe there is some way to cope with this - but it is at least not written in the current cross build documentation.
Best regards
Peter |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54588 Location: 56N 3W
|
Posted: Tue May 01, 2018 8:12 am Post subject: |
|
|
christoph_peter_s,
The active profile for building a cross toolchain is the profile on the build host.
Thats where the code will run.
The active profile for cross compiling (using the cross toolchain) in that set in /usr/<tuple>/etc/portage/
arm is at the /13.0/ profile still as some bigger changes are going to be rolled in for both arm and mips.
Are you still running Code: | crossdev -t armv7a-hardfloat-linux-gnueabi | or are you using the toolchain to cross compile glibc, in which case, Code: | armv7a-hardfloat-linux-gnueabi-emerge --info | will apply. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54588 Location: 56N 3W
|
Posted: Tue May 01, 2018 8:12 am Post subject: |
|
|
Moved from Portage & Programming to Gentoo on ARM. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
christoph_peter_s Tux's lil' helper
Joined: 30 Nov 2015 Posts: 108
|
Posted: Sun May 20, 2018 2:57 pm Post subject: |
|
|
Hi Neddy,
Thank You for Your support. But I have to admit, that I am still pretty clueless. I did try it on a different machine. But the effect looks the same...
Code: |
ulysses ~ # crossdev -t armv7a-hardfloat-linux-gnueabi
-
* crossdev version: 20171230
* Host Portage ARCH: amd64
* Target Portage ARCH: arm
* Target System: armv7a-hardfloat-linux-gnueabi
* Stage: 4 (C/C++ compiler)
* ABIs: default
* binutils: binutils-[latest]
* gcc: gcc-[latest]
* headers: linux-headers-[latest]
* libc: glibc-[latest]
* CROSSDEV_OVERLAY: /usr/local/portage
* PORT_LOGDIR: /var/log/portage
* PORTAGE_CONFIGROOT: /
* Portage flags:
* leaving sys-devel/binutils in /usr/local/portage
* leaving sys-devel/gcc in /usr/local/portage
* leaving sys-kernel/linux-headers in /usr/local/portage
* leaving sys-libs/glibc in /usr/local/portage
* leaving sys-devel/gdb in /usr/local/portage
* leaving metadata/layout.conf alone in /usr/local/portage
* Log: /var/log/portage/cross-armv7a-hardfloat-linux-gnueabi-binutils.log
* Emerging cross-binutils ...
* error: binutils failed :(
*
* If you file a bug, please attach the following logfiles:
* /var/log/portage/cross-armv7a-hardfloat-linux-gnueabi-info.log
* /var/log/portage/cross-armv7a-hardfloat-linux-gnueabi-binutils.log.xz
* /var/tmp/portage/cross-armv7a-hardfloat-linux-gnueabi/binutils*/temp/binutils-config.logs.tar.xz
|
This is run on an AMD64 machine, my file server with an old Sandy Bridge i7-2600 (but with 32G RAM on the board).
The second file seems to indicate, that I got some mess inside the cross chain...
Code: |
Calculating dependencies ..... done!
[ebuild U ~] sys-libs/binutils-libs-2.30-r2 [2.29.1-r1]
[ebuild N ~] cross-armv7a-hardfloat-linux-gnueabi/binutils-2.30-r2 USE="cxx nls -doc -multitarget -static-libs {-test}"
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
sys-libs/binutils-libs:0
(sys-libs/binutils-libs-2.30-r2:0/2.30::gentoo, ebuild scheduled for merge) pulled in by
>=sys-libs/binutils-libs-2.30 required by (cross-armv7a-hardfloat-linux-gnueabi/binutils-2.30-r2:2.30/2.30::PSeOverlay, ebuild scheduled for merge)
^^ ^^^^
(sys-libs/binutils-libs-2.29.1-r1:0/2.29.1::gentoo, installed) pulled in by
sys-libs/binutils-libs:0/2.29.1=[abi_x86_64(-)] required by (x11-libs/cairo-1.14.12:0/0::gentoo, installed)
^^^^^^^^^^
|
Somehow I have to get the binutils-libs matching on both the main system and the cross system... at least, that's what it looks like to me on a first glance.
Best regards
Peter
PS: it looks like there were some unwanted remnants from old experiments with an overlay. I'll research that... will take some time, as I am going to leave now for two days. |
|
Back to top |
|
|
christoph_peter_s Tux's lil' helper
Joined: 30 Nov 2015 Posts: 108
|
Posted: Sat May 26, 2018 6:49 pm Post subject: |
|
|
I (allmost) solved it. I did omit, what turned out to be the vital information of the error log /var/log/portage/cross-armv7a-hardfloat-linux-gnueabi-binutils.log.xz
Code: |
It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.
For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by x11-libs/cairo-1.14.12::gentoo
# required by net-libs/gtk-vnc-0.7.2::gentoo
# required by app-emulation/virt-manager-1.5.1-r1::gentoo[gtk]
# required by @selected
# required by @world (argument)
=sys-libs/binutils-libs-2.30-r2 ~amd64
|
So I added this line to package.accept_keywords - et voila!
I was irritated as my local overlay, which I did stop to use quite some time ago, still kept its old name as in /etc/portage/repos.conf/local.conf
Code: | [PSeOverlay]
location = /usr/local/portage
masters = gentoo
auto-sync = no
priority = 10 |
During the build of the cross-tools, a subdirectory /usr/local/portage/cross-armv7a-hardfloat-linux-gnueabi is created - and due to the old entry in /etc/portage/repos.conf/local.conf it got the name of my disbanded overlay. So that's fine.
The only nit, that remains is the revdep-rebuild, wants to rebuild the arm gcc...
Code: | ulysses /etc/portage # revdep-rebuild -v
* This is the new python coded version
* Please report any bugs found using it.
* The original revdep-rebuild script is installed as revdep-rebuild.sh
* Please file bugs at: https://bugs.gentoo.org/
* Found a valid cache, skipping collecting phase
* Scanning files
* Checking dynamic linking consistency
* Broken files that require: ld-linux-armhf.so.3 (32 bits)
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libasan.so.4.0.0
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libatomic.so.1.2.0
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libgfortran.so.4.0.0
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libgomp.so.1.0.0
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libitm.so.1.0.0
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libstdc++.so.6.0.24
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libubsan.so.0.0.0
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libvtv.so.0.0.0
* Assign files to packages
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libitm.so.1.0.0 -> cross-armv7a-hardfloat-linux-gnueabi/gcc-7.3.0-r3
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libgomp.so.1.0.0 -> cross-armv7a-hardfloat-linux-gnueabi/gcc-7.3.0-r3
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libstdc++.so.6.0.24 -> cross-armv7a-hardfloat-linux-gnueabi/gcc-7.3.0-r3
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libvtv.so.0.0.0 -> cross-armv7a-hardfloat-linux-gnueabi/gcc-7.3.0-r3
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libgfortran.so.4.0.0 -> cross-armv7a-hardfloat-linux-gnueabi/gcc-7.3.0-r3
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libasan.so.4.0.0 -> cross-armv7a-hardfloat-linux-gnueabi/gcc-7.3.0-r3
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libubsan.so.0.0.0 -> cross-armv7a-hardfloat-linux-gnueabi/gcc-7.3.0-r3
* /usr/lib64/gcc/armv7a-hardfloat-linux-gnueabi/7.3.0/libatomic.so.1.2.0 -> cross-armv7a-hardfloat-linux-gnueabi/gcc-7.3.0-r3
emerge --verbose --oneshot --complete-graph=y cross-armv7a-hardfloat-linux-gnueabi/gcc:7.3.0 |
If I stop this, then everything is working fine. I really like Gentoo for that amazing flexibility. It needs a bit of dedication, but one gets rewarded with a consistent and (mostly) flawless system. Kudos to all the guys, who make this happen.
Best regards
Peter |
|
Back to top |
|
|
gauge-symmetrical n00b
Joined: 03 Dec 2017 Posts: 25
|
Posted: Fri Jul 06, 2018 5:59 pm Post subject: |
|
|
christoph_peter_s,
it looks like you ran into problem with binutils and fixed it successfuly, but what about glibc? Has that "IFUNC" thingy gone on your system? I use crossdev and got the same problem like OP. There are no changes and no solutions for months and I stuck with glibc-2.25-r9. There's no info in the Internet about this issue. It always ends like this
Code: | # emerge -uDNav world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7:2.2::crossdev [2.25-r9:2.2::crossdev] USE="caps suid -audit -debug -doc% -gd -hardened -headers-only -multilib -nscd -profile (-selinux) -systemtap -vanilla (-rpc%*)" 0 KiB
Total: 1 package (1 upgrade), Size of downloads: 0 KiB
...
arm-hardfloat-linux-gnueabi-gcc -Wl,-O1 -Wl,--as-needed pt-vfork.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Wundef -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -frounding-math -fstack-protector-all -pipe -Wstrict-prototypes -Wold-style-definition -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl/nptl -I/var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl -I../sysdeps/unix/sysv/linux/arm -I../sysdeps/arm/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/include -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/arm-hardfloat-linux-gnueabi/6.4.0/include -isystem /usr/lib/gcc/arm-hardfloat-linux-gnueabi/6.4.0/include-fixed -isystem /usr/arm-hardfloat-linux-gnueabi/usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl/libc-modules.h -DMODULE_NAME=libpthread -include ../include/libc-symbols.h -DPIC -DTOP_NAMESPACE=glibc -o /var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl/nptl/pt-vfork.o -MD -MP -MF /var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl/nptl/pt-vfork.o.dt -MT /var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl/nptl/pt-vfork.o
arm-hardfloat-linux-gnueabi-gcc -Wl,-O1 -Wl,--as-needed ../sysdeps/unix/sysv/linux/write.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -Wundef -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -frounding-math -fstack-protector-all -pipe -Wstrict-prototypes -Wold-style-definition -fexceptions -fasynchronous-unwind-tables -ftls-model=initial-exec -U_FORTIFY_SOURCE -I../include -I/var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl/nptl -I/var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl -I../sysdeps/unix/sysv/linux/arm -I../sysdeps/arm/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/include -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/arm-hardfloat-linux-gnueabi/6.4.0/include -isystem /usr/lib/gcc/arm-hardfloat-linux-gnueabi/6.4.0/include-fixed -isystem /usr/arm-hardfloat-linux-gnueabi/usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl/libc-modules.h -DMODULE_NAME=libpthread -include ../include/libc-symbols.h -DPIC -DTOP_NAMESPACE=glibc -o /var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl/nptl/write.o -MD -MP -MF /var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl/nptl/write.o.dt -MT /var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl/nptl/write.o
pt-vfork.c:41:3: error: #error "must write pt-vfork for this machine or get IFUNC support"
# error "must write pt-vfork for this machine or get IFUNC support"
^~~~~
make[2]: *** [../o-iterator.mk:9: /var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl/nptl/pt-vfork.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/glibc-2.26/nptl'
make[1]: *** [Makefile:216: nptl/subdir_lib] Error 2
make[1]: Leaving directory '/var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/glibc-2.26'
make: *** [Makefile:9: all] Error 2
make: Leaving directory '/var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/build-default-arm-hardfloat-linux-gnueabi-nptl'
* ERROR: cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7::crossdev failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7::crossdev'`,
* the complete build log and the output of `emerge -pqv '=cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7::crossdev'`.
* The complete build log is located at '/var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/temp/environment'.
* Working directory: '/var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/glibc-2.26'
* S: '/var/tmp/portage/cross-arm-hardfloat-linux-gnueabi/glibc-2.26-r7/work/glibc-2.26' |
In general, I don't depend on newer glibc's and I'd be pretty ok with masking out updates, but this problem ticks me off. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|