From owner-freebsd-arm@freebsd.org Sun Sep 29 13:07:26 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B1F59FFECF for ; Sun, 29 Sep 2019 13:07:26 +0000 (UTC) (envelope-from bostwick.brian@gmail.com) Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46h5RK6w0dz4XY3 for ; Sun, 29 Sep 2019 13:07:25 +0000 (UTC) (envelope-from bostwick.brian@gmail.com) Received: by mail-io1-xd43.google.com with SMTP id q1so30625922ion.1 for ; Sun, 29 Sep 2019 06:07:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=IqZK8sqw+27233wujimhDqz9g7ReOr1NaZTmGVlKQqk=; b=gWafWwEGS57Wn0vY+2mx2nbUzZA35okR9qOtV2hXkYFCJSWuGhHmhUaQ+Q/HLyOo3K FUsd/dCFSt8OqtE/MWR2ptoazUt58A+HBUbMVhwhd882UyFBqsnXaQgkSj7Llc4ePlo6 3VG0Eu8BgqSlm8Vjj/HhnmOSwIbGSw3XUdypqxVDmK0ea4ULmxS6s6bWyVLyYLsfUAU6 sE89L1d170j1y20GNOHFV0K8oIZbkneNHxSIxHQi2TWVY4yeS9PFKuqOjohIaIk/Puch HHwBCFppPxgHV68LtQblOXinR31VzrKNf+fQQ+FZ8Nqc0pGX8VFqV1Gy9Z/LuUuvDJ7g EtLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=IqZK8sqw+27233wujimhDqz9g7ReOr1NaZTmGVlKQqk=; b=YkKYN7dq/XmJxL69fnGYi4rAZF7+yNcIgLx2ZZedwJuh4SeCn9ZqZep0LzRHvVaQt5 unApGbaIIze39TCDdtBVPLBSh1reQRoautINxEXp11LsMOk/p3f01fbcw0pDtEAhoyZ3 1hOPuI3pDWCH87dD3rfxy0cV2AbC/7YgnzuP8XrVlqmxma0Eze3KrahGS4unS+g5xFbS LstIbTFPzhZ6wcJhAQJrCPUi6gJMlenNDc+Sku+GtwlA4zOcqujId4SF5FqMHRZWRBEJ H1SaWWoeL6KqBInfKY7i73AHPQTidNYiUmdRdoB+qIDzGzpDVgMZFDcpjLvbR1OW5WJl uzvw== X-Gm-Message-State: APjAAAVtEXfjlySdkFj9TvgtU/mK90vz4IxNoMS2e8xGAlkz1hwL4zf6 I+L2/Uxm1dZtEB1V19Ri3CGuKtKO0aQFVXLkjXeN7kTl X-Google-Smtp-Source: APXvYqzT8cp+BBulQfO1x8XoUknTB1EOeOTv1UMHKQpbywaTN57HgW4f0584kwbODbADQ7RRFg3LE9xZ7ECawBjNJBo= X-Received: by 2002:a6b:8bd4:: with SMTP id n203mr17679412iod.133.1569762444982; Sun, 29 Sep 2019 06:07:24 -0700 (PDT) MIME-Version: 1.0 From: Brian Bostwick Date: Sun, 29 Sep 2019 09:07:14 -0400 Message-ID: Subject: Building world and kernel on RPI3 B+ compilation failure, unwind-dw2.c. To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 46h5RK6w0dz4XY3 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=gWafWwEG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bostwickbrian@gmail.com designates 2607:f8b0:4864:20::d43 as permitted sender) smtp.mailfrom=bostwickbrian@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (2.01), ipnet: 2607:f8b0::/32(-2.59), asn: 15169(-2.17), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[3.4.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2019 13:07:26 -0000 Hi everyone, I have installed the most recent image of 12.1 to my sdcard and I have an identical image running under qemu. The release revision is @ 352868. I have setup distcc successfully and compilation works, but it fails at this point: To be clear, I am compiling directly on the Pi itself and offloading jobs to an arm qemu instance on a faster computer. As far as I know the images running are the same. /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1396:3: error: cannot compile this __builtin_init_dwarf_reg_size_table yet __builtin_init_dwarf_reg_size_table (dwarf_reg_size_table); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. distcc[74549] ERROR: compile /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c on localhost failed *** [unwind-dw2.o] Error code 1 make[4]: stopped in /usr/src/gnu/lib/libgcc 1 error make[4]: stopped in /usr/src/gnu/lib/libgcc *** [gnu/lib/libgcc__PL] Error code 2 make[3]: stopped in /usr/src --- lib/libcompiler_rt__PL --- A failure has been detected in another branch of the parallel make make[4]: stopped in /usr/src/lib/libcompiler_rt *** [lib/libcompiler_rt__PL] Error code 2 make[3]: stopped in /usr/src 2 errors make[3]: stopped in /usr/src *** [libraries] Error code 2 make[2]: stopped in /usr/src 1 error make[2]: stopped in /usr/src *** [_libraries] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [buildworld] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src It seems a similar problem happened for someone in this StackOverflow thread, https://stackoverflow.com/questions/53786496/clang-error-cannot-compile-builtin-function-yet. However this person was compiling the Linux kernel and it looks like they used GCC to get around the issue, which I don't think I can do here?