compiler issues
Gordon Zaft
gordonzaft at gmail.com
Tue Nov 8 20:53:26 UTC 2016
I am still experiencing these segmentation faults. Here's another one
building VIM:
cc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
-I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include/cairo
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2
-I/usr/local/include/libdrm -I/usr/local/include/libpng16
-I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0
-I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG
-I/usr/local/include -O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/regexp.o regexp.c
regexp_nfa.c: In function 'nfa_regatom':
regexp_nfa.c:2013: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.freebsd.org/support.html> for instructions.
*** Error code 1
I also got a similar error building llvm37, this time on a nice shiny Sun
Blade 2000 I got with 4 GB RAM. That was running gcc48, not 4.2.1, was a
fresh install of 11.0-RELEASE-p1.
G
On Mon, Oct 31, 2016 at 4:11 PM, Chris <syseng at gfsys.co.uk> wrote:
> On 10/31/16 21:17, Gordon Zaft wrote:
>
>> Sun U5 running 11.0, 512MB memory
>>
>> I'm trying to do some updates and I keep getting segmentation faults while
>> compiling. I got this for llvm37, spidermonkey170 and ... something else.
>>
>> I looked at my install and realized the gcc I installed with 10.x was
>> 4.2.1
>> which is pretty old, so I decided to update to 4.91 in hopes that would
>> solve some of these issues.
>>
>> Alas, I get:
>>
>> In file included from
>> /usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/c-family/c-common.c:11936:
>>
>> ./gt-c-family-c-common.h:254: internal compiler error: Segmentation fault
>>
>> Please submit a full bug report, with preprocessed source if appropriate.
>> I'm going to try updating to something not so recent but i'm wondering if
>> others have seen this issue.
>>
>>
> Hi,
>
> To be sure, I always do bare bones install from ISO,
> to make sure everything is in sync. During the evaluation
> of the various versions since June, i've always
> done a fresh install and kept several previous system disks
> in case I need to refer back to any of them. I never use
> update at all, since it only takes an hour or so to reinstall
> from scratch. Ok, you then have to start again building
> packages of interest, but i'm doing this on a part time basis
> and time is not really an issue.
>
> 512 Mb may be a bit light for building gcc. The v215
> here came with 8Gb memory, so never any problem in that
> regard. When I built vnc, the following packages built,
> including gcc (4.8.5.2), binutils etc, all of which
> built without issue, though it does take a few hours.
>
> Chris
>
> Exceprt from running log file:
>
> FreeBSD Sparc, Bare Bones Vnc Remote X Desktop for Headless Sparc V215
>> ------------------------------------------------------------
>> ----------
>> Notes and Log, Chris Quayle, June-October 2016
>>
>> * FreeBSD v215freebsd 11.0-RELEASE
>> FreeBSD 11.0-RELEASE #0 r306211:
>> Fri Sep 23 04:12:52 UTC 2016
>>
>> root at releng2.nyi.freebsd.org:
>> /usr/obj/sparc64.sparc64/usr/src/sys/GENERIC sparc64
>>
>> * Enable ssh and login as root
>>
>> * In /etc/rc.conf
>> sshd_enable="YES"
>> In /etc/ssh/ssh_config:
>> PermitRootLogin yes
>>
>> * Make ports index:
>> cd /usr/ports
>> make index
>>
>> * Setup ntp:
>> In rc.conf:
>> ntpd_enable="YES" Start ntpd at boot
>> ntpdate_enable="YES"
>> ntpd_sync_on_start="YES" Fast update on start
>>
>> rm /etc/periodic/daily/480.*
>> Don't need this, ntpd adaptively learns update schedule
>>
>> * Install bash:
>> cd /usr/ports/shells/bash
>> make install clean
>>
>> pkg-1.8.7_1 installed
>> dialog4ports-0.1.5_2 installed
>> gmake-lite-4.2.1 installed
>> perl5-5.20.3_15 installed
>> indexinfo-0.2.4 installed
>> help2man-1.43.3_1 installed
>> texinfo-6.1.20160425 installed
>> m4-1.4.17_1,1 installed
>> bison-2.7.1,1 installed
>> bash-4.3.46_1 installed
>>
>> * Copy /usr/local/bin/bash to /bin
>> * Update /etc/shells
>> * Change shell: chsh -s /bin/bash
>>
>> * Install vnc:
>> cd /usr/ports/net/vnc
>> make install clean
>>
>> gmp-5.1.3_3 installed
>> gmake-4.2.1 installed
>> patch-2.7.5 installed
>> mpfr-3.1.4 installed
>> binutils-2.25.1_3,1 installed
>> mpc-1.0.3 installed
>> gcc-4.8.5_2 installed
>> pkgconf-0.9.12_1 installed
>> xorg-macros-1.19.0 installed
>> inputproto-2.3.1 installed
>> bigreqsproto-1.1.2 installed
>> xcmiscproto-1.2.2 installed
>> xextproto-7.3.0 installed
>> xtrans-1.3.5 installed
>> kbproto-1.0.7 installed
>> xf86bigfontproto-1.2.0 installed
>> xproto-7.0.28 installed
>> libXau-1.0.8_3 installed
>> libXdmcp-1.1.2 installed
>> libcheck-0.10.0 installed
>> gettext-runtime-0.19.8.1 installed
>> gettext-tools-0.19.8.1 installed
>> libffi-3.2.1 installed
>> readline-6.3.8 installed
>> python27-2.7.12 installed
>> libxml2-2.9.4 installed
>> xcb-proto-1.11_1 installed
>> libpthread-stubs-0.3_6 installed
>> libgpg-error-1.23 installed
>> libgcrypt-1.7.3 installed
>> libxslt-1.1.29 installed
>> libxcb-1.11.1 installed
>> libX11-1.6.3,1 installed
>> libXext-1.3.3_1,1 installed
>> libICE-1.0.9_1,1 installed
>> libSM-1.2.2_3,1 installed
>> libXt-1.1.5,1 installed
>> libXpm-3.5.11_4 installed
>> recordproto-1.14.2 installed
>> fixesproto-5.0 installed
>> libXfixes-5.0.1_3 installed
>> libXi-1.7.6,1 installed
>> libXtst-1.2.2_3 installed
>> font-util-1.3.1 installed
>> libfontenc-1.1.3 installed
>> freetype2-2.6.3 installed
>> mkfontscale-1.1.2 installed
>> mkfontdir-1.0.7 installed
>> fontsproto-2.1.3,1 installed
>> libXfont-1.5.1,2 installed
>> bdftopcf-1.0.5 installed
>> expat-2.1.1_2 installed
>> fontconfig-2.12.1,1 installed
>> font-adobe-100dpi-1.0.3_3 installed
>> font-adobe-utopia-100dpi-1.0.4_3 installed
>> font-bh-100dpi-1.0.3_3 installed
>> font-bh-lucidatypewriter-100dpi-1.0.3_3 installed
>> font-bitstream-100dpi-1.0.3_3 installed
>> encodings-1.0.4_3,1 installed
>> xorg-fonts-100dpi-7.7 installed
>> font-adobe-75dpi-1.0.3_3 installed
>> font-adobe-utopia-75dpi-1.0.4_3 installed
>> font-bh-75dpi-1.0.3_3 installed
>> font-bh-lucidatypewriter-75dpi-1.0.3_3 installed
>> font-bitstream-75dpi-1.0.3_3 installed
>> xorg-fonts-75dpi-7.7 installed
>> font-cronyx-cyrillic-1.0.3_3 installed
>> font-misc-cyrillic-1.0.3_3 installed
>> font-screen-cyrillic-1.0.4_3 installed
>> font-winitzki-cyrillic-1.0.3_3 installed
>> xorg-fonts-cyrillic-7.7 installed
>> font-arabic-misc-1.0.3_3 installed
>> font-cursor-misc-1.0.3_3 installed
>> font-daewoo-misc-1.0.3_3 installed
>> font-dec-misc-1.0.3_3 installed
>> font-isas-misc-1.0.3_3 installed
>> font-jis-misc-1.0.3_3 installed
>> font-micro-misc-1.0.3_3 installed
>> font-misc-misc-1.1.2_3 installed
>> font-mutt-misc-1.0.3_3 installed
>> font-schumacher-misc-1.1.2_3 installed
>> font-sony-misc-1.0.3_3 installed
>> font-sun-misc-1.0.3_3 installed
>> xorg-fonts-miscbitmaps-7.7 installed
>> font-bh-ttf-1.0.3_3 installed
>> font-misc-meltho-1.0.3_3 installed
>> font-misc-ethiopic-1.0.3_3 installed
>> dejavu-2.35 installed
>> xorg-fonts-truetype-7.7_1 installed
>> font-adobe-utopia-type1-1.0.4_3 installed
>> font-bh-type1-1.0.3_3 installed
>> font-bitstream-type1-1.0.3_3 installed
>> font-ibm-type1-1.0.3_3 installed
>> font-xfree86-type1-1.0.4_3 installed
>> xorg-fonts-type1-7.7 installed
>> font-alias-1.0.3_3 installed
>> xorg-fonts-7.7_1 installed
>> rgb-1.0.6 installed
>> libXmu-1.1.2_3,1 installed
>> xauth-1.0.9_1 installed
>> vnc-4.1.3_10 installed
>>
>
--
Gordon Zaft
Province 35 Governor
Phi Mu Alpha Sinfonia Fraternity
gordonzaft at gmail.com
More information about the freebsd-sparc64
mailing list