From owner-freebsd-arm@freebsd.org Tue Oct 20 10:15:47 2015 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 42B7DA18422 for ; Tue, 20 Oct 2015 10:15:47 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (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 CEC8E1E3 for ; Tue, 20 Oct 2015 10:15:46 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: by wikq8 with SMTP id q8so38770022wik.1 for ; Tue, 20 Oct 2015 03:15:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=SiifSoPAHyboCa1pRVHGEdopbitiYpS/rzOzWVCnyhU=; b=ZSpVqoNucAidZ8AvClXmLgKMoxWjnYBjaENUankdYXaY86yO82HAceasjpHMiM7RjN CaMmycx2ayzTDi99aCoupezwaBvT/uoRi2Rw2SqsegFfctKgIhv3u57e9yrXTkGZQbFu rySWmfLRKVXMdh7/A/RkfpZn/PFmC4gnhg/NK/Z4sUlt2ruXUnOJigfGAF7p7bHQ0pQ2 K4R6KO3blsYs1B0Xe7PcZUETGQ4sJF4AagmlX3cM6rppp10v+xEVbvCuL3opIe7LccWj R/9VCdogOT2AlN+Mpf/N4thJ9PulN1vMYkcHvEvmlHAdfLYHx6I07Rd5TwM6XlMK68PY N+eg== X-Received: by 10.194.87.198 with SMTP id ba6mr3069949wjb.6.1445336145277; Tue, 20 Oct 2015 03:15:45 -0700 (PDT) Received: from ?IPv6:2001:1620:ff0:c51:f8d4:30e6:b484:d6c? ([2001:1620:ff0:c51:f8d4:30e6:b484:d6c]) by smtp.googlemail.com with ESMTPSA id uq5sm2906332wjc.3.2015.10.20.03.15.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Oct 2015 03:15:44 -0700 (PDT) To: freebsd-arm From: Mattia Rossi Subject: CC core dumping with CLANG 3.7 on armv5 - DREAMPLUG Message-ID: <5626144F.9060003@gmail.com> Date: Tue, 20 Oct 2015 12:15:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2015 10:15:47 -0000 Hi all, since CLANG was upgraded to 3.7 I'm not abel to compile anything on my Dreamplug anymore: FreeBSD clang version 3.7.0 (tags/RELEASE_370/final 246257) 20150906 Target: arm--freebsd11.0-gnueabi Thread model: posix configure:3562: $? = 0 configure:3551: cc -v >&5 FreeBSD clang version 3.7.0 (tags/RELEASE_370/final 246257) 20150906 Target: arm--freebsd11.0-gnueabi Thread model: posix configure:3562: $? = 0 configure:3551: cc -V >&5 cc: error: argument to '-V' is missing (expected 1 value) cc: error: no input files configure:3562: $? = 1 configure:3551: cc -qversion >&5 cc: error: unknown argument: '-qversion' cc: error: no input files configure:3562: $? = 1 configure:3582: checking whether the C compiler works configure:3604: cc conftest.c >&5 cc: error: unable to execute command: Bus error (core dumped) cc: error: clang frontend command failed due to signal (use -v to see invocation) Unfortunately I don't have any debugging symbols enabled in world (yet - it's compiling), only in the kernel, so I can't get a proper backtrace: root@dreamplug:~ # gdb /usr/bin/cc cc.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "arm-marcel-freebsd"...(no debugging symbols found)... Core was generated by `cc'. Program terminated with signal 10, Bus error. #0 0x01eb0868 in ?? () (gdb) bt #0 0x01eb0868 in ?? () (gdb) Does anyone have similar probelms or know a solution to that? Please con't tell me that nobody is using armv5 anymore and I should change to a RPi or so :-( Cheers, Mat