From owner-freebsd-ppc@freebsd.org Fri May 24 18:25:26 2019 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 4BB6D15B25E9; Fri, 24 May 2019 18:25:26 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27B80727F7; Fri, 24 May 2019 18:25:24 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id 20B6C16E80; Fri, 24 May 2019 18:25:24 +0000 (UTC) Date: Fri, 24 May 2019 18:25:22 +0000 From: Mark Linimon To: Mark Millard Cc: FreeBSD Toolchain , FreeBSD PowerPC ML , ports-list freebsd , Jan Beich Subject: Re: powerpc64 system-clang-8 based context: x11-toolkits/qt5-declarative fails to build in poudriere: /usr/local/lib/qt5/bin/qlalr segmentation faults in std::type_info::~type_info() () from /usr/local/lib/gcc8/libstdc++.so.6 Message-ID: <20190524182522.GA17299@lonesome.com> References: <8B8355C5-731B-4F03-AA98-11324C618D3C@yahoo.com> <590AAD80-8D2F-4F7A-8910-001D72A5E666@yahoo.com> <22D9DF10-E58A-49E5-8372-CC9D263A7C76@yahoo.com> <33026AD5-9CB0-43CB-84EA-5B2B914A7EB0@yahoo.com> <3B3EACF3-00D8-48B7-A3C0-8AA6E0279041@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3B3EACF3-00D8-48B7-A3C0-8AA6E0279041@yahoo.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: 27B80727F7 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.26 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.44)[-0.444,0]; FROM_HAS_DN(0.00)[]; IP_SCORE(-0.25)[ipnet: 18.220.0.0/14(0.15), asn: 16509(-1.33), country: US(-0.06)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[5]; LONG_SUBJ(1.66)[221]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[11.6.222.18.list.dnswl.org : 127.0.5.2]; MX_GOOD(-0.01)[cached: mail.soaustin.net]; NEURAL_SPAM_LONG(0.62)[0.618,0]; NEURAL_HAM_SHORT(-0.02)[-0.018,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.220.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2019 18:25:26 -0000 On Thu, May 23, 2019 at 10:33:35PM -0700, Mark Millard via freebsd-toolchain wrote: > That is no matter what the system compiler is for powerpc64. > > This lead to the below mixing of libstdc++.so.6 and libc++/libcxxrt . . . Yeah. This is probably my fault. We've baked the assumption into ports that "powerpc64 implies gcc in base". You're the first person to color outside the lines I think :-) I'm going to start an internal discussion about what the "real" fix is. I consider what we've done in some places to not be the "real" fix because they assume _either_ llvm _or_ gcc in base. This would fix your specific problem but not the general problem of someone installing both and then switching back and forth for testing. mcl