View previous topic :: View next topic |
Author |
Message |
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54615 Location: 56N 3W
|
Posted: Sun Sep 24, 2017 4:27 pm Post subject: undefined symbol: __explicit_bzero_chk |
|
|
Team,
Both mate and xfrc4 used to work on arm64 but no more.
They both fail for undefined symbol: __explicit_bzero_ch. To put that into context ...
Code: | X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.41-v8+ aarch64 Gentoo
Current Operating System: Linux Pi3_64 4.12.11-v8+ #4 SMP PREEMPT Mon Sep 11 17:31:20 BST 2017 aarch64
Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000 dwc_otg.lpm_enable=0 console=tty root=/dev/sda1 rootfstype=ext4 rootwait
Build Date: 27 August 2017 10:08:59PM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 24 17:13:51 2017
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xfce4-session: symbol lookup error: /usr/lib64/libbsd.so.0: undefined symbol: __explicit_bzero_chk
xinit: connection to X server lost
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file. |
Xorg starts and shuts down but there is no desktop shown.
__explicit_bzero_chk appears to be provided by glibc. My current glibc says
Code: | Pi3_64 ~ # /lib64/libc.so.6
GNU C Library (Gentoo 2.23-r3 p6) stable release version 2.23, by Roland McGrath et al.
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 6.2.0.
Available extensions:
C stubs add-on version 2.1.2
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
libc ABIs: UNIQUE
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>. |
I've tried several versions. Code: | # ls -l /packages/sys-libs/glibc-2.2*
-rw-r--r-- 1 root root 12278539 Apr 9 2016 /packages/sys-libs/glibc-2.22-r4.tbz2
-rw-r--r-- 1 root root 12367495 Nov 16 2016 /packages/sys-libs/glibc-2.23-r3.tbz2
-rw-r--r-- 1 root root 12452685 Jun 24 15:46 /packages/sys-libs/glibc-2.24-r3.tbz2
-rw-r--r-- 1 root root 12523558 Sep 14 16:13 /packages/sys-libs/glibc-2.24-r4.tbz2
-rw-r--r-- 1 root root 12957575 Aug 25 21:24 /packages/sys-libs/glibc-2.25-r3.tbz2
-rw-r--r-- 1 root root 12902548 Sep 13 17:58 /packages/sys-libs/glibc-2.25-r4.tbz2
-rw-r--r-- 1 root root 12809493 Sep 13 19:57 /packages/sys-libs/glibc-2.26.tbz2 | including downgrading glibc (which I know is not supported) and rebuilding the libbsd package.
What am I missing?
-- edit --
The linker is Code: | # ld -V
GNU gold (Gentoo 2.28 p1.2 2.28) 1.14 |
_________________ 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: 54615 Location: 56N 3W
|
Posted: Sun Sep 24, 2017 5:34 pm Post subject: |
|
|
Team,
I'm being silly. Code: | __explicit_bzero_ch | was added in glibc-2.25, so its not in the glibc I downgraded to. Oops.
Sorry for the noise on that one. Going back to sys-libs/glibc-2.25-r4 has fixed that issue.
Now the Pi won't boot, which is much harder to diagnose. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54615 Location: 56N 3W
|
Posted: Sun Sep 24, 2017 5:50 pm Post subject: |
|
|
Jaglover,
If I downgrade glibc it works ... but then I get the missing symbol :(
The last line on the screen is Mounting /dev/shm. ...
It seems to really stop the boot process too, as it will not respond over ssh. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54615 Location: 56N 3W
|
Posted: Sun Sep 24, 2017 7:41 pm Post subject: |
|
|
Jaglover,
I don't think mounting shm returns. If I downgrade glibc, it boots but won't run any desktops.
I've just tried reverting openrc-0.30 to openrc-0.22 (using tar) to no effect.
Making the kernel static /dev nodes is next in a working boot.
Next, I suppose I can chroot in from Sakakis image and poke about but I can't start my services then. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mDup Apprentice
Joined: 14 Apr 2006 Posts: 212
|
Posted: Sun Sep 24, 2017 10:10 pm Post subject: |
|
|
NeddySeagoon wrote: | Next, I suppose I can chroot in from Sakakis image and poke about but I can't start my services then. |
maybe, indeed in a chroot, you will need to build some packages to fix the issues, only, it may not be so easy to find the necessary and sufficient ones.
good luck! |
|
Back to top |
|
|
|