Date: Wed, 10 Oct 2018 21:40:17 -0700 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Cc: Jan Beich <jbeich@FreeBSD.org> Subject: On a powerpc64, system-clang crashes on audio/alsa-lib 's control.lo : "error in backend: A @@ version cannot be undefined" Message-ID: <1B7575F6-ED4D-42FE-BD51-B976F21B7CA6@yahoo.com>
next in thread | raw e-mail | index | archive | help
The following is on a powerpc64 machine (old PowerMac G5 so-called "Quad Core") running a personal build of head -r339076 that was built via devel/powerpc64-xtoolchain-gcc and such (no gcc 4.2.1). The compiler for the port build is system-clang (so clang 6 as cc), not used for buildworld buildkernel. [I experiment with more modern compilers and toolchains for some powerpc family members.] The system is using base/binutils materials, such as for the system-linker. (lld is not yet reasonable for powerpc64 as I understand and the old system-binutils' ld is not sufficient either.) The port build is via ports-mgmt/poudriere-devel with -w . But it looks like the /tmp/control-* files are not captured. It will probably be 12 hours or more before the bulk build finishes, then more time before I investigate/reproduce and get such files. But for now here is an extraction from the log file: --- control.lo --- /bin/sh ../../libtool --tag=3DCC --mode=3Dcompile cc -DHAVE_CONFIG_H = -I. -I../../include -I../../include -I/usr/ports/audio/alsa-lib/files = -O2 -pipe -g -fno-strict-aliasing -MT control.lo -MD -MP -MF = .deps/control.Tpo -c -o control.lo control.c . . . --- control.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../include = -I../../include -I/usr/ports/audio/alsa-lib/files -O2 -pipe -g = -fno-strict-aliasing -MT control.lo -MD -MP -MF .deps/control.Tpo -c = control.c -fPIC -DPIC -o .libs/control.o . . . --- control.lo --- fatal error: error in backend: A @@ version cannot be undefined cc: error: clang frontend command failed with exit code 70 (use -v to = see invocation) FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on = LLVM 6.0.1) Target: powerpc64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin cc: note: diagnostic msg: PLEASE submit a bug report to = https://bugs.freebsd.org/submit/ and include the crash backtrace, = preprocessed source, and associated run script. cc: note: diagnostic msg:=20 ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: cc: note: diagnostic msg: /tmp/control-696205.c cc: note: diagnostic msg: /tmp/control-696205.sh cc: note: diagnostic msg:=20 ******************** *** [control.lo] Error code 1 make[3]: stopped in = /wrkdirs/usr/ports/audio/alsa-lib/work/alsa-lib-1.1.2/src/control 1 error For reference: [06:50:02] [04] [00:02:54] Saved audio/alsa-lib | alsa-lib-1.1.2_1 = wrkdir to: = /usr/local/poudriere/data/wrkdirs/FBSDpowerpc64-default/default/alsa-lib-1= .1.2_1.tbz [06:50:05] [04] [00:02:57] Finished audio/alsa-lib | alsa-lib-1.1.2_1: = Failed: build [06:50:07] [04] [00:02:59] Skipping deskutils/lumina-archiver | = lumina-archiver-1.4.1: Dependent port audio/alsa-lib | alsa-lib-1.1.2_1 = failed [06:50:07] [04] [00:02:59] Skipping deskutils/lumina-calculator | = lumina-calculator-1.4.1: Dependent port audio/alsa-lib | = alsa-lib-1.1.2_1 failed [06:50:07] [04] [00:02:59] Skipping x11/lumina-core | lumina-core-1.4.1: = Dependent port audio/alsa-lib | alsa-lib-1.1.2_1 failed [06:50:07] [04] [00:02:59] Skipping x11/lumina-coreutils | = lumina-coreutils-1.4.1: Dependent port audio/alsa-lib | alsa-lib-1.1.2_1 = failed [06:50:07] [04] [00:02:59] Skipping deskutils/lumina-fileinfo | = lumina-fileinfo-1.4.1_1: Dependent port audio/alsa-lib | = alsa-lib-1.1.2_1 failed [06:50:07] [04] [00:02:59] Skipping deskutils/lumina-fm | = lumina-fm-1.4.1: Dependent port audio/alsa-lib | alsa-lib-1.1.2_1 failed [06:50:07] [04] [00:02:59] Skipping deskutils/lumina-mediaplayer | = lumina-mediaplayer-1.4.1_1: Dependent port audio/alsa-lib | = alsa-lib-1.1.2_1 failed [06:50:07] [04] [00:02:59] Skipping deskutils/lumina-screenshot | = lumina-screenshot-1.4.1: Dependent port audio/alsa-lib | = alsa-lib-1.1.2_1 failed [06:50:07] [04] [00:02:59] Skipping deskutils/lumina-textedit | = lumina-textedit-1.4.1_1: Dependent port audio/alsa-lib | = alsa-lib-1.1.2_1 failed [06:50:07] [04] [00:02:59] Skipping multimedia/qt5-multimedia | = qt5-multimedia-5.11.1: Dependent port audio/alsa-lib | alsa-lib-1.1.2_1 = failed =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1B7575F6-ED4D-42FE-BD51-B976F21B7CA6>