Re: 9.0-CURRENT r220692 && cc1: internal compiler error: Segmentation fault: 11

From: N V <VaNs9_at_yandex.ru>
Date: Tue, 26 Apr 2011 13:32:26 +0400
Hello.

Don't know is this related.

I've got rather fresh 9.0-CURRENT (checked out few days ago) built with clang. And I use clang as the system compiler, but ruby fails to build with clang. So I've tried gcc. But with gcc I've got this:

..
configure:3211: checking whether the C compiler works
configure:3233: cc -I/usr/include -O2 -pipe -march=native -fno-strict-aliasing -I/usr/include   -rpath=/usr/lib:/usr/local/lib -pthread conft
est.c -L/usr/lib  -rpath=/usr/lib:/usr/local/lib -pthread >&5
Segmentation fault (core dumped)
configure:3237: $? = 139
configure:3275: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3280: error: in `/mnt/portworkdir/usr/ports/lang/ruby18/work/ruby-1.8.7-p302':
configure:3283: error: C compiler cannot create executables
..

As far as I remeber, all was ok when I had base gcc build by gcc not clang. But this could be unrelated.

Regards.


26.04.2011, 12:04, "Matthias Apitz" <guru_at_unixarea.de>:
> Hello,
>
> I'm trying to compile /usr/ports/mail/evolution-exchange/ and the gcc
> crashes with:
>
> [root_at_vm-9Current /usr/ports/mail/evolution-exchange]# šLANG=C make
> ===> šBuilding for evolution-exchange-2.32.1_1
> gmake šall-recursive
> gmake[1]: Entering directory
> `/usr/ports/mail/evolution-exchange/work/evolution-exchange-2.32.1'
> Making all in server
> gmake[2]: Entering directory
> `/usr/ports/mail/evolution-exchange/work/evolution-exchange-2.32.1/server'
> Making all in xntlm
> gmake[3]: Entering directory
> `/usr/ports/mail/evolution-exchange/work/evolution-exchange-2.32.1/server/xntlm'
> ššCC ššššlibxntlm_la-xntlm.lo
> cc1: internal compiler error: Segmentation fault: 11
>
> Some notes about this:
> - the system runs in a VMworkstation 7.x
> - it has already compliled kernel, userland and ~1000 ports without any
> ššcrash, i.e. it is *not* the typical hardware related crash;
> - the above mentioned version evolution-exchange-2.32.1_1 is a fake, in
> ššreal it is compiling the original evolution-exchange-2.32.3 sources;
> - it is fully reproduceable
>
> What next?
> (David, should it be posted to evolution_at_gnome.org as well?)
>
> ššššššššmatthias
>
> --
> Matthias Apitz
> t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
> e <guru_at_unixarea.de>; - w http://www.unixarea.de/
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Tue Apr 26 2011 - 07:50:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC