From owner-freebsd-current@FreeBSD.ORG Mon Oct 13 16:44:30 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16E96106569F for ; Mon, 13 Oct 2008 16:44:30 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id E14FC8FC0A for ; Mon, 13 Oct 2008 16:44:29 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1673993wfg.7 for ; Mon, 13 Oct 2008 09:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=cGsi2Rzs33X159SN1tsuLa4S8pDcYpvAFObjXEQHy7s=; b=VFLUvEGhlbw7MC59VF7UoFqGmCdH0wkPmOLv11pUOfE7qPETMYfV+Hf4TIYwewKtiE Z5gj1E53SFwYWJeUWXxT/r3byPZyihdjNl8fyCKErXpxhgszlIy3tPfAiZpNIulZABQs 9t7WYHN0vFhlL4iVRMpiJjTYeCk2bolpKqEuk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=q1rwBbbIwk/yC8wyZMs57HXu+lfMWK7DYPjgM6qzMowLSi1vIBgMgxHIZEghyInp2k iomVlpOVeEfDQeahI6dl9KahE3WIGPoxBoZVhtZhnUfdvYGUo/i0ABPSTRYvyuWAfD6P 2zf6WA92Kbzj7K2C/8rCvrxihpH/MaXE/EST8= Received: by 10.115.111.1 with SMTP id o1mr5526194wam.114.1223914978160; Mon, 13 Oct 2008 09:22:58 -0700 (PDT) Received: by 10.114.103.7 with HTTP; Mon, 13 Oct 2008 09:22:58 -0700 (PDT) Message-ID: <790a9fff0810130922n7afc10faje3459c09de575be6@mail.gmail.com> Date: Mon, 13 Oct 2008 11:22:58 -0500 From: "Scot Hetzel" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: cc1plus: internal compiler error: Segmentation fault: 11 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 16:44:30 -0000 When I tried rebuilding the audio/pulseaudio port on -CURRENT, it would fail with: cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf -I../src/modules/bluetooth -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -I/usr/local/include -I/usr/local/include -DPA_DLSEARCHPATH=\"/usr/local/lib/pulse-0.9/modules/\" -DPA_DEFAULT_CONFIG_DIR=\"/usr/local/etc/pulse\" -DPA_BINARY=\"/usr/local/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DPA_SYSTEM_CONFIG_PATH=\"/var/lib/pulse\" -DPA_SYSTEM_STATE_PATH=\"/var/lib/pulse\" -DAO_REQUIRE_CAS -DPULSE_LOCALEDIR=\"/usr/local/share/locale\" -DPA_MACHINE_ID=\"/var/lib/dbus/machine-id\" "-DDEBUG_TRAP=__asm__(\"int \$3\")" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 -pipe -march=k8 -Wmissing-include-dirs -fno-strict-aliasing -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Wno-overlength-strings -Wconversion -Wundef -Wformat -Wpacked -Wformat-security -Wformat-nonliteral -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math -MT libpulse_mainloop_glib_la-glib-mainloop.lo -MD -MP -MF .deps/libpulse_mainloop_glib_la-glib-mainloop.Tpo -c pulse/glib-mainloop.c -fPIC -DPIC -o .libs/libpulse_mainloop_glib_la-glib-mainloop.o cc1: internal compiler error: Segmentation fault: 11 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. gmake[3]: *** [libpulse_mainloop_glib_la-glib-mainloop.lo] Error 1 gmake[3]: Leaving directory `/usr/obj/usr/ports/audio/pulseaudio/work/pulseaudio-0.9.13/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/obj/usr/ports/audio/pulseaudio/work/pulseaudio-0.9.13/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/obj/usr/ports/audio/pulseaudio/work/pulseaudio-0.9.13' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/audio/pulseaudio. *** Error code 1 Stop in /usr/ports/audio/pulseaudio. I was able to isolate the problem by patching the ports configure script to remove -Wmissing-include-dirs from DESIRED_FLAGS. This port then built successfully. As a test, I added -Wmissing-include-dirs to CFLAGS (/etc/make.conf) and proceeded to build x11/kdelibs3, this port failed in its configure script with the same segmentation error. I then created test.cpp: #include int main () { ; return 0; } and when I compiled this test program with an invalid include directory, it failed: cc -I/usr/nolocal/include -I/usr/include -Wmissing-include-dirs test.cpp cc1plus: internal compiler error: Segmentation fault: 11 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Shouldn't it be reporting that the directory /usr/nolocal/include doesn't exist? If I specify the correct paths, the test program still fails with: cc -I/usr/local/include -I/usr/include -Wmissing-include-dirs test.cpp /var/tmp//ccFe3FKQ.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' Is anyone able to reproduce these problems? FreeBSD hp010. 8.0-CURRENT FreeBSD 8.0-CURRENT #8: Mon Aug 11 17:10:07 CDT 2008 root@hp010.hetzel.org:/usr/obj/usr/src/8x/sys/DV8135NR amd64 Scot