Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2015 08:50:39 +0200
From:      Mattia Rossi <mattia.rossi.mailinglists@gmail.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: CC core dumping with CLANG 3.7 on armv5 - DREAMPLUG
Message-ID:  <5628873F.7050509@gmail.com>
In-Reply-To: <5626144F.9060003@gmail.com>
References:  <5626144F.9060003@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi all again, does anyone know what might be going on regarding the 
error below?
Unfortunately I can't build clang with debugging symbols, as it fails 
because I run out of swap.
As this means that I ahve to repartition and rebuild my build system and 
that's going to take awhile until I find the time to get around to do 
that, I have no additional information in the meantime...

Cheers,

Mat

>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5628873F.7050509>