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

N V VaNs9 at yandex.ru
Tue Apr 26 09:50:15 UTC 2011


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"


More information about the freebsd-current mailing list