Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2015 04:36:17 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   11.0-CURRENT -r291685 installworld: ld-elf.so.1 update leads to Signal 11's on Quad core G5 PowerMac
Message-ID:  <0DFE7349-6954-4E9C-8FD3-52EFCF40DFD9@dsl-only.net>
In-Reply-To: <E507F9AF-2818-4E6D-9538-A8670B079C8A@dsl-only.net>
References:  <01BA3FF2-F362-48FA-B9E2-112E05CC00ED@dsl-only.net> <6AA244B9-DE60-4D8B-A08E-AADD73F9D856@dsl-only.net> <106D9CB0-D9AE-4463-A03E-3AB16583CDA7@dsl-only.net> <E507F9AF-2818-4E6D-9538-A8670B079C8A@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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:

> =3D=3D=3D> 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
>=20
> 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@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@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@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=3D
> WITH_DEBUG=3D
> WITH_DEBUG_FILES=3D
> MALLOC_PRODUCTION=3D
> CC=3D/usr/local/bin/powerpc64-portbld-freebsd11.0-gcc
> CXX=3D/usr/local/bin/powerpc64-portbld-freebsd11.0-g++
> CPP=3D/usr/local/bin/powerpc64-portbld-freebsd11.0-cpp
> CROSS_BINUTILS_PREFIX=3D/usr/local/powerpc64-freebsd/bin/
> X_COMPILER_TYPE=3Dgcc
> DEPFLAGS+=3D -isystem /usr/obj/usr/src/tmp/usr/include/. =
-I/usr/obj/usr/src/tmp/usr/include/c++/v1/. -I/usr/include/c++/v1/.
> CFLAGS+=3D -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+=3D -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+=3D -isystem /usr/obj/usr/src/tmp/usr/include/. =
-I/usr/obj/usr/src/tmp/usr/include/c++/v1/. -std=3Dgnu++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)


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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0DFE7349-6954-4E9C-8FD3-52EFCF40DFD9>