From owner-freebsd-arm@freebsd.org Fri Apr 8 11:23:28 2016 Return-Path: Delivered-To: freebsd-arm@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 5B29FB08132 for ; Fri, 8 Apr 2016 11:23:28 +0000 (UTC) (envelope-from wma@semihalf.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3C73D1288 for ; Fri, 8 Apr 2016 11:23:28 +0000 (UTC) (envelope-from wma@semihalf.com) Received: by mailman.ysv.freebsd.org (Postfix) id 381E8B08131; Fri, 8 Apr 2016 11:23:28 +0000 (UTC) Delivered-To: arm@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 37C1CB08130 for ; Fri, 8 Apr 2016 11:23:28 +0000 (UTC) (envelope-from wma@semihalf.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (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 0CB001286 for ; Fri, 8 Apr 2016 11:23:27 +0000 (UTC) (envelope-from wma@semihalf.com) Received: by mail-ig0-x22a.google.com with SMTP id g8so13229632igr.0 for ; Fri, 08 Apr 2016 04:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=keSiBdRnka2PdBtlcEUXBXNdw1xHG2jOHrpGoCVvdYI=; b=Nco51AkwXMcHXi3Fnk4ZIrQOKnfad6Bh4cFNrxWmYspOMfjIfOeDB9nbH0ijYVc0Jc gl4rfTRXWbAQBFmdxm2X3izq1h4gYCrB6+miUIu41XJmSMNns84ubDRg7kQ2Xp0MqEZ8 nm6kmxfTCQ8MqIxKK1uquXX4wnHBhk2DKAI1kBlJei9Lp/m5peoBPlaLyN29vDB2Q4xI mg51VDmHmoIqR3FT02jdpRNhIa9UaE5kTuLNdmdUF6m5ilQvAzLb5R1qbNIQYI0yMD2w 5xbLvP+E+gTkhGdobRblKLA8uOTdFrsAG3dLSSepV6vJhiTtFW9FzHfG+rTO3opMH4PF 1YLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=keSiBdRnka2PdBtlcEUXBXNdw1xHG2jOHrpGoCVvdYI=; b=W1BGpGUmDwhmPupFT3pJRafqF3jhALhwPfwimEG2V543EB1DxCbzP2dSbS7NlUreOM /HoAe8mfoiRERHrHLkwGrWbrWgAzTB7nD6L2z/tZd3pF192nLuoaKx4HGI6oAuBOydX1 3tbEotmzVLlbYFPU2EVBwCYIeNwIEH8Gyd+Fh5TvbbUXtxZjAbZMbLI9VwM0Ut2Qh4Pb 6vGh7TyajhyW9+YsKiHGHq8Xdzr32kpoOPvbvGYzkTL3X/oK3zPC6ZjSP1GdG5ZJRZDu UA47JHzyVe2T3MBJrRgF6tw1j1JNsRCx9A4rN9m3wkfogAhGCJ7DY3GeycM5VK9UZi5J NG1Q== X-Gm-Message-State: AD7BkJKfisxO6QcHCesvILUU6H6wCqVM4QNECmxZhU0WMfpBXfSmlkjXfJ97kWkvxnomMo8XQsnLs5bj2udYxg== X-Received: by 10.50.65.74 with SMTP id v10mr2835955igs.33.1460114607276; Fri, 08 Apr 2016 04:23:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.154.19 with HTTP; Fri, 8 Apr 2016 04:23:07 -0700 (PDT) In-Reply-To: References: From: Wojciech Macek Date: Fri, 8 Apr 2016 13:23:07 +0200 Message-ID: Subject: Re: ARM64 buildworld failure on ThunderX To: Ed Maste , arm@freebsd.org, arm64-dev Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 11:23:28 -0000 Ed, Do you have any comments on this? Should I create a bug in bugzilla? Regards, Wojtek 2016-03-22 13:34 GMT+01:00 Wojciech Macek : > Hello, > > I was debugging strange userspace crashes during native aarch64 > buildworld, and I think that it is highly probable that they are caused by > issues with recent toolchain or system libraries. > The same test as below, but run on older sources (the one with clang-3.6) > is just fine, build succeeds and soelim does not crash. > > I'd like to get some feedback if anyone do or did see similar behavior or > how this might be pushed forward. I can provide binaries, logs and whatever > is necessary. > > The application that fails is a soelim (in about 95% of all cases): > > --- be_BY.CP1131.LC_CTYPE --- > --- all_subdir_share/doc --- > --- all_subdir_share/doc/usd --- > groff: soelim: Signal 11 (core dumped) > --- all_subdir_share/i18n --- > sed "s/CPx/CP10007/" /root/freebsd-arm64/share/i18n/esdb/CP/CP.src > > CP10007.src > --- all_subdir_share/i18n/csmapper --- > --- UCS%CP950.mps --- > --- all_subdir_share/ctypedef --- > > > > When I try to manually call the application, it coredumps too. > > root@thunder_crb4:~/freebsd-arm64 # find /usr/obj/ -name soelim > /usr/obj/root/freebsd-arm64/tmp/usr/lib/debug/usr/tests/usr.bin/soelim > /usr/obj/root/freebsd-arm64/tmp/usr/tests/usr.bin/soelim > /usr/obj/root/freebsd-arm64/tmp/legacy/usr/bin/soelim > /usr/obj/root/freebsd-arm64/tmp/root/freebsd-arm64/usr.bin/soelim > /usr/obj/root/freebsd-arm64/tmp/root/freebsd-arm64/usr.bin/soelim/soelim > /usr/obj/root/freebsd-arm64/usr.bin/soelim > root@thunder_crb4:~/freebsd-arm64 # > /usr/obj/root/freebsd-arm64/tmp/root/freebsd-arm64/usr.bin/soelim/soelim > Segmentation fault (core dumped) > root@thunder_crb4:~/freebsd-arm64 # > > > Steps to reproduce: > 1. Clone the FreeBSD HEAD > 2. Call "make buildworld -j48 -DNO_CLEAN" > 3. Relax and wait for the crash to happen... > > Regards, > wma > >