11.0-CURRENT -r291685 installworld: ld-elf.so.1 update leads to Signal 11's on Quad core G5 PowerMac

Mark Millard markmi at dsl-only.net
Thu Dec 3 12:36:27 UTC 2015


Just FYI: My attempt to update from 11.0 -r281630 via buildworld and installworld to -r291685 based on powerpc64-gcc as the system and (self-hosted) cross-compiler on a G5 PowerMac got:

> ===> libexec/rtld-elf (install)
> chflags -h noschg /usr/libexec/ld-elf.so.1
> install -s -o root -g wheel -m 555  -C -b -fschg -S ld-elf.so.1 /libexec/ld-elf.so.1
> install -T debug -o root -g wheel -m 444  ld-elf.so.1.debug /usr/lib/debug/libexec/ld-elf.so.1.debug
> install -o root -g wheel -m 444 rtld.1.gz  /usr/share/man/man1/
> *** Signal 11
> 
> Stop.
> make[5]: stopped in /usr/src/libexec/rtld-elf
> *** Error code 1

This looks the same as I got earlier for -r291637: loading non-static programs fails when the new ld-elf.so.1 is in use.

But if I'm the only one getting such results after the adjustments that you made then something else about my attempt is likely involved. It has taken some odd activity to even compile/link for my jump from a 2015-Apr-18 11.0-CURRENT context to modern via (the updated) powerpc64-gcc. So my context might not be the best evidence.

Using /rescue/* programs to put back the ld-elf.so.1.old gets things going again. So now I have a partially updated world. (The kernel built and installed fine earlier, my various update problems have been with world.)



Context details if you care:

Via /etc/src.conf powerpc64-gcc is also in use as the host compiler: no gcc 4.2.1 present and clang not used.

Before I'd done buildkernel and installkernel things were back at:

> # freebsd-version -ku; uname -aKU
> 11.0-CURRENT
> 11.0-CURRENT
> FreeBSD FBSDG5C0 11.0-CURRENT FreeBSD 11.0-CURRENT #12 r281630M: Sat Apr 18 01:15:13 PDT 2015     root at FBSDG5C0:/usr/obj/usr/src/sys/GENERIC64vtsc-NODEBUG  powerpc 1100070 1100070

After updating the kernel (the first time) when I'd still not been able to complete a buildworld:

> # freebsd-version -ku; uname -aKU
> 11.0-CURRENT
> 11.0-CURRENT
> FreeBSD FBSDG5C0 11.0-CURRENT FreeBSD 11.0-CURRENT #13 r291624M: Tue Dec  1 17:19:04 PST 2015     root at FBSDG5C0:/usr/obj/usr/src/sys/GENERIC64vtsc-NODEBUG  powerpc 1100091 1100070


Now (build world completed but installworld did not; more recent kernel build):

> $ freebsd-version -ku; uname -aKU
> 11.0-CURRENT
> 11.0-CURRENT
> FreeBSD FBSDG5C0 11.0-CURRENT FreeBSD 11.0-CURRENT #15 r291685M: Thu Dec  3 03:06:52 PST 2015     root at FBSDG5C0:/usr/obj/usr/src/sys/GENERIC64vtsc-NODEBUG  powerpc 1100091 1100070


> # svnlite info /usr/src
> Path: /usr/src
> Working Copy Root Path: /usr/src
> URL: https://svn0.us-west.freebsd.org/base/head
> Relative URL: ^/head
> Repository Root: https://svn0.us-west.freebsd.org/base
> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
> Revision: 291685
> Node Kind: directory
> Schedule: normal
> Last Changed Author: kib
> Last Changed Rev: 291685
> Last Changed Date: 2015-12-03 02:33:57 -0800 (Thu, 03 Dec 2015)

> # more /etc/src.conf
> NO_WERROR=
> WITH_DEBUG=
> WITH_DEBUG_FILES=
> MALLOC_PRODUCTION=
> CC=/usr/local/bin/powerpc64-portbld-freebsd11.0-gcc
> CXX=/usr/local/bin/powerpc64-portbld-freebsd11.0-g++
> CPP=/usr/local/bin/powerpc64-portbld-freebsd11.0-cpp
> CROSS_BINUTILS_PREFIX=/usr/local/powerpc64-freebsd/bin/
> X_COMPILER_TYPE=gcc
> DEPFLAGS+= -isystem /usr/obj/usr/src/tmp/usr/include/. -I/usr/obj/usr/src/tmp/usr/include/c++/v1/. -I/usr/include/c++/v1/.
> CFLAGS+= -isystem /usr/obj/usr/src/tmp/usr/include/. -Wl,-rpath-link -Wl,/usr/obj/usr/src/tmp/usr/lib/. -Wl,-rpath-link -Wl,/usr/obj/usr/src/tmp/lib/. -L/usr/obj/usr/src/tmp/usr/lib/. -L/usr/obj/usr/src/tmp/lib/.
> LDFLAGS+= -Wl,-rpath-link -Wl,/usr/obj/usr/src/tmp/usr/lib/. -Wl,-rpath-link -Wl,/usr/obj/usr/src/tmp/lib/. -L/usr/obj/usr/src/tmp/usr/lib/. -L/usr/obj/usr/src/tmp/lib/.
> CXXFLAGS+= -isystem /usr/obj/usr/src/tmp/usr/include/. -I/usr/obj/usr/src/tmp/usr/include/c++/v1/. -std=gnu++11 -L/usr/obj/usr/src/lib/libc++/.

> # svnlite info /usr/ports
> Path: /usr/ports
> Working Copy Root Path: /usr/ports
> URL: https://svn0.us-west.freebsd.org/ports/head
> Relative URL: ^/head
> Repository Root: https://svn0.us-west.freebsd.org/ports
> Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> Revision: 402806
> Node Kind: directory
> Schedule: normal
> Last Changed Author: miwi
> Last Changed Rev: 402806
> Last Changed Date: 2015-12-01 17:26:49 -0800 (Tue, 01 Dec 2015)


===
Mark Millard
markmi at dsl-only.net





More information about the freebsd-ppc mailing list