From owner-freebsd-ppc@freebsd.org Thu Oct 11 04:50:31 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40E1810CEF83 for ; Thu, 11 Oct 2018 04:50:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-21.consmr.mail.gq1.yahoo.com (sonic306-21.consmr.mail.gq1.yahoo.com [98.137.68.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C20BC8484E for ; Thu, 11 Oct 2018 04:50:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Ad0pBmYVM1kWNwxV2gZ6UcxOxlk.ZKHShKro60XGQRXYKVOPTiw6ScgMPl.2XMN C4ZOstrKIPu0KsFtim81QnakMcHLYfllTiLsay7A.lqfyzUrRudFy6tSrl8bdRjK4RioMO7hKKG9 v.buvZJOTKD4WZ8QxgSbXzdxfdQYAK9zHNrszIyaxd9rmCTK4mD7XJWh_FJaPLodByzY83.Tu6FP gEvkPSkUKBXvHjEEYXNO7bHFkQ2CW.1loD66_mKmixmZd67Un0OZfHiP_dKJV7ZuL4GppOxkOukZ VxOItXG_Vh_4dLvFyKcB8D18S1_9OKkV8V1oV5kVeIFFYmmyPSEQ11VquHMPTOgJJC2JL8EJS0a3 u7L21Cq1JFlWZTTxzK0FZXi.YKuI_4m2SUHNx4FPs0ABoNChyBdELvm8SrpecVOynQYWfH9yUDV9 wLt6uwZH89boeDAfKf2Jaaf3_eEnSIP3XmePsIvE61miDPYWVGQ8D6CRDDq0cJh8jT4HCl15aTKn amc5hgEDuqy2k_lMUhOvvNdLCKVpl94xTe6N8.ypqKhHKUSjBROwCp7eTPkwgTy7U.n0JShGbVGA pvBme0NLfRF5JDGdnWRO7LC5bc3dVMTpcYHLWdCUXuLBa5cKcItzaks5qyWtBZAVMqEH_nRfzvZ_ TaXJZXRYJtpfDECYioMBXEFViBBiycEyRV3UO8rCUwLWTIc7Ga6DcfyMAn9vOCQpx3xTK7qm9HaI 1oJp8ExnKl.9pSwW.CMQ1qNVueE.xCmD._jcK7qZQh0aSOF0ZtXVTmlmK4xezDb467jsl_lSzUf3 9MT3fUm.bixgci4d4MQGabSycw1hSqb_NT8VWJXVQgx5CRNLdILxRwqUHzK7qmkAaKsB7pq8ZbKf JQYDcN7jM45NURSp18GYUuC9wTVxFftN1tEENQQFkXGfHRrEek66HfYkOFr.HdEQS0K5H8dTGbyl 8NoOY_Dtdlt5GsAhk5fwAvZF5Yl1VhXjq9_f18bdbPWqraBkdrrJOAFRGaYHNRyWSyLfFQiifRYV JPCX6zuKl8CR_VuuYATc1vhpnKK.jBtKMT3UFnTFgParL.p2sPeI_mJ7S8fzlwW1u2MeT7Z0liMd CJ98ikdaNvlmODw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Thu, 11 Oct 2018 04:50:28 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp427.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 589737411686f8e493cdda52d667a76e; Thu, 11 Oct 2018 04:40:17 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) 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> Date: Wed, 10 Oct 2018 21:40:17 -0700 Cc: Jan Beich To: FreeBSD Toolchain , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2018 04:50:31 -0000 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)