From owner-freebsd-ppc@freebsd.org Fri Oct 20 13:54:21 2017 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40C42E360DA for ; Fri, 20 Oct 2017 13:54:21 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F1F3076FCC for ; Fri, 20 Oct 2017 13:54:20 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-it0-x22e.google.com with SMTP id r127so13484063itb.5 for ; Fri, 20 Oct 2017 06:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=cc:message-id:from:to:in-reply-to:content-transfer-encoding :mime-version:subject:date:references; bh=Sy4rwT96pMS2L/ViUD4S/hZcwRGxFOLgSPYsValDdts=; b=ESZkVx5ZO0fo7OwZ4ulLOhx+0aZMM+zabvyBJWuTv7cAvo+WUz7YOv2HlLhs/lowYT zrm5euA9Tow4JVA14iatmdID/aszfCkMFqvmiDx/H4UFtiPa6r6FNiJyBhXfbbUmpwJm G/aJm4ieiPg5LthngqQnKS0ppl6pljnz4yzdkp9I+xgysjBmP7RJrP+sM1wU1l1Mo35l ELZHHdwHuPBIhmUP1urtR0F/iv61aqfgHwcmCCocop1cdcaKKsp753YGvWgRgdkS4NR7 TD9CylyvAQjPc0S4nKLNcxgZ3BCrszMIPWnGtqAN50e9wVz1Whco3E/RFoaBIlZg4Qoa BGpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:message-id:from:to:in-reply-to :content-transfer-encoding:mime-version:subject:date:references; bh=Sy4rwT96pMS2L/ViUD4S/hZcwRGxFOLgSPYsValDdts=; b=fUhPllsgH5tg4Hn677XfEg5JrB73ON0EySoAWExLcPeNwcY0SBSFfGaOhsUlaqPQVr sj6SqU9REO2BNuP1cTdSBngKY6ydSXKA0xTOLLeZ1KnIar7bNFDszqBV29yWFl9qLxWb HvGhqmpweOsSGBI/Q1RmkqhfPu0DjWQvJ78Zw2LZzZWcRJZLmkHbAl0XrO7n5t44MMDd moPHJP1pDs10i4I1rlhwUcV77H4aynv/M3pNHXTFJXrKqUXsdl2On5Qea9eFNAn5Oqs8 gbl8+pPsIJh0/hBFLqCfGbVk6tqyg9N79xK2ha/V/CP97hyKqEgZL6d2mwrDxwIIxPfr 29FQ== X-Gm-Message-State: AMCzsaVGxwdHreJxVsQdKOA9hz/2gKrmcMmMOZxuBpVnZERCdDaZPRER swcn6teqiHp2+b0Ou6wTLGNEBg== X-Google-Smtp-Source: ABhQp+TSpbpDNGpoCMlYzRSrkohdYV4GnR8vUu+xOtJBy3Bb0h/AzA9wp8na8nD+4Tg+jMhJwSHV2w== X-Received: by 10.36.3.202 with SMTP id e193mr2629738ite.108.1508507659911; Fri, 20 Oct 2017 06:54:19 -0700 (PDT) Received: from Triad.knownspace (173-18-191-193.client.mchsi.com. [173.18.191.193]) by smtp.gmail.com with ESMTPSA id f16sm364497ioi.30.2017.10.20.06.54.18 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 20 Oct 2017 06:54:18 -0700 (PDT) Cc: Message-Id: <50D12563-0F4D-4E4C-905D-D95D68C5AEBF@gmail.com> From: Justin Hibbits To: Thaison Nguyen In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: libc++ on FreeBSD-11.1 powerpc32 Date: Fri, 20 Oct 2017 08:54:17 -0500 References: X-Mailer: Apple Mail (2.936) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2017 13:54:21 -0000 On Oct 19, 2017, at 12:54 AM, Thaison Nguyen wrote: > Hi, > I have successfully compiled llvm50 on my ibook G4 using the latest > stable release of FreeBSD. > > Anyhow i could not make use of it yet as it cannot find libc++. > I cannot install it through ports, too because the port has been > deleted recently. > > What am i doing wrong here? > > Greetings, > TN Hi, Unfortunately right now libc++ isn't built for powerpc (neither 32 nor 64). Why is llvm50 looking for libc++? Do you have a test case I can try with? The hope is that soon (in time for FreeBSD 12 to branch) we'll have a full clang world+kernel for all powerpc targets, so this should eventually be resolved naturally. That said, as part of our goal for driving FreeBSD forward we want to also move to a modern toolchain regardless, which can include migrating to an external GCC if needed. This will also allow us to build libc++ as part of base. Long story short -- libc++ isn't in base for powerpc right now, but should be in the not-too-distant future. - Justin