From owner-freebsd-current@freebsd.org Thu Jun 7 17:36:37 2018 Return-Path: Delivered-To: freebsd-current@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 EE588FE59A7 for ; Thu, 7 Jun 2018 17:36:36 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (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 7FB4175DD0; Thu, 7 Jun 2018 17:36:36 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by mail-it0-x233.google.com with SMTP id v83-v6so13679203itc.3; Thu, 07 Jun 2018 10:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=trvNDXOGHjsSniiU7sAkMzJiOBLkjqtU0m78AyD90A0=; b=dZ/vBGkHCEFYBJosxxe0YMeFUDmwYnMWMLJKSqtOHIgeDfq2Ct8Z6mPNl0JXwID9ja ZpVEAp54JzZwZvSIZnnGjQEe4rvRQJHMfCJ5WPrnQkBG2x4BNrGQoZpvxS+lgzBQywaz MoiDKFA+RbzC6YdqPC7FKBkF0vJBHjM/Mf5ihvLeG5xJcngFEdGv0p+KbJfXaSd8MhKP oJCUBhwcrv3JX5CCvNXHWenNMIhRiRROS9WGgm/yFf1Wwix/irazE7ytZ04AI6Vni1SZ XVqNASUn8PQbT6rS49z4Je+8+M9tRUGgY4XuKljRutt0MDCsKFMZAVt8ZHOai4RWAb/A Tw1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=trvNDXOGHjsSniiU7sAkMzJiOBLkjqtU0m78AyD90A0=; b=SJbrI7LoAaYXVQfUWspwav5TA4BXK3GaSV338WukWUrLth6EEJa32tB9IetBOnhRQB OijfacAZj1jqstAsqDc1Xv1eEUAUcKTbhiJ01XK0y+nO74WPrabeSGgMZBMtCnne+c5/ xsCZbT5oibNp848eZtNhdTJJbd7J1DdbJHEZOwlQAdpyOecON6Pr3xNMIPhN33DZ824L MFUyrsP6RI0EdCb/VIg0k4MBJJGbwoCbRGbHDNKzZnXSBvKRjx3SOHcNn59bl66iYSQB DahG4IwoS36303Vfj8/+7r7eeSjj7x2APCduJgjicH7iYPv2UAjC9yla/qNouNVx0q8I UNrA== X-Gm-Message-State: APt69E2Dhxz5ITRQPPLFJP9tOld8R64lv4xtQgMkbXnLYbq7VXfOrgHh Q/QiolXQfQXbqseeHPj15u3JV1dh8YANrgMZ/iI= X-Google-Smtp-Source: ADUXVKJqBzbbPIH5bFoGHLO7I7335guRvnQrOij82pmJUK/4+pWyWcLx5uHwCVj+b6QU7dDNvdqN49tYpD3G9Fp5Yzc= X-Received: by 2002:a24:6c8a:: with SMTP id w132-v6mr2747312itb.4.1528392995738; Thu, 07 Jun 2018 10:36:35 -0700 (PDT) MIME-Version: 1.0 References: <1e32764d-c202-6ad0-4c1b-0b0951cd6602@protected-networks.net> In-Reply-To: <1e32764d-c202-6ad0-4c1b-0b0951cd6602@protected-networks.net> From: Matthew Macy Date: Thu, 7 Jun 2018 10:36:24 -0700 Message-ID: Subject: Re: rust broken? To: Michael Butler Cc: Alan Somers , freebsd-current X-Mailman-Approved-At: Fri, 08 Jun 2018 01:58:36 +0000 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2018 17:36:37 -0000 On Thu, Jun 7, 2018 at 10:33 Michael Butler wrote: > Ah - I'll re-enable that to see if it makes a difference .. > It's not a question of enabling. It doesn't explicitly use the 11 symbols. Rust developers assume that every OS has a frozen ABI like Linux. The rust from rustup will only work on 11. This is why you need to use the port / pkg. -M > I missed that in the comparison between my two build environments :-( > > Michael > > On 06/07/18 13:21, Matthew Macy wrote: > > > > Rustup uses the 11 ABI. > > > > On Thu, Jun 7, 2018 at 10:11 Alan Somers > > wrote: > > > > Can you reproduce the problem using rust installed from rustup > > instead of > > from Ports? If so, you should file a bug report with the Rust > > developers. > > Hint: when using Rustup, you'll have to use vresion 1.26.1 instead of > > 1.26.0. > > -Alan > > > > On Thu, Jun 7, 2018 at 9:44 AM, Michael Butler > > > > > wrote: > > > > > In response to a Firefox update, I tried to build the new version. > > > However, rust now fails with a core-dump in the build process. > > > > > > checking for libffi > 3.0.9... yes > > > checking MOZ_FFI_CFLAGS... -I/usr/local/lib/libffi-3.2.1/include > > > checking MOZ_FFI_LIBS... -L/usr/local/lib -lffi > > > checking for rustc... /usr/local/bin/rustc > > > checking for cargo... /usr/local/bin/cargo > > > checking rustc version... > > > DEBUG: Executing: `/usr/local/bin/rustc --version --verbose` > > > DEBUG: The command returned non-zero exit status -12. > > > DEBUG: Its output was: > > > DEBUG: | rustc 1.26.0 > > > DEBUG: | binary: rustc > > > DEBUG: | commit-hash: unknown > > > DEBUG: | commit-date: unknown > > > DEBUG: | host: x86_64-unknown-freebsd > > > DEBUG: | release: 1.26.0 > > > ERROR: Command `/usr/local/bin/rustc --version --verbose` failed > with > > > exit status -12. > > > > > > Attempts to rebuild rust (and cargo) from the bootstrap files fail > in > > > similar fashion. > > > > > > On a machine running a SVN r334538 kernel but more recent > > user-land, it > > > builds successfully. With (the only difference being) a kernel at > SVN > > > r334748, it does not. > > > > > > Any hints/thoughts? > > > > > > imb > > > _______________________________________________ > > > freebsd-current@freebsd.org > > mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > > To unsubscribe, send any mail to > > "freebsd-current-unsubscribe@freebsd.org > > " > > > > > _______________________________________________ > > freebsd-current@freebsd.org > > mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to > > "freebsd-current-unsubscribe@freebsd.org > > " > > > >