Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2011 13:32:26 +0400
From:      N V <VaNs9@yandex.ru>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-current@freebsd.org, David Woodhouse <dwmw2@infradead.org>
Subject:   Re: 9.0-CURRENT r220692 && cc1: internal compiler error: Segmentation fault: 11
Message-ID:  <500181303810347@web156.yandex.ru>
In-Reply-To: <20110426080424.GA12864@sh4-5.1blu.de>
References:  <20110426080424.GA12864@sh4-5.1blu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@unixarea.de>:
> Hello,
>
> I'm trying to compile /usr/ports/mail/evolution-exchange/ and the gcc
> crashes with:
>
> [root@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@gnome.org as well?)
>
> ššššššššmatthias
>
> --
> Matthias Apitz
> t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
> e <guru@unixarea.de>; - w http://www.unixarea.de/
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



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