Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] gcc 4.6.3 internal compiler error: Segmentation fault

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Vlad Glagolev <stealth AT tiberian.ru>
  • To: Kevin AT RawFedDogs.net
  • Cc: SourceMage Discuss Mailing List <SM-Discuss AT Lists.IBiblio.org>
  • Subject: Re: [SM-Discuss] gcc 4.6.3 internal compiler error: Segmentation fault
  • Date: Fri, 6 Feb 2015 10:15:05 +0300

Hey there,

well, the first search result points to this:

http://forums.gentoo.org/viewtopic-p-6602615.html?sid=a0034ae19355ac65e6c030305451445e

Are you sure the hardware in a good shape and optimization flags
you have set are correct?

Another thread says this one

> The question is rather about processor type. GCC is famous for
> incorrectly generating code for some old chips assuming SSE2 support for
> ones that can only do SSE (like some Athlons).

You should definetely play with compiler flags, because Athlons
(especially the old ones) are rather specific.

output from /proc/cpuinfo would help as well.

On Thu, 5 Feb 2015 21:30:32 -0600
Kevin Monceaux <Kevin AT RawFedDogs.net> wrote:

> Mages,
>
> It's been several years since I've run Source Mage, other than trying a
> stable grimoire rebuild under a chroot a little while back. With the talk
> of potential progress, and a proper web site on the horizon, I've been
> thinking of giving Source Mage another try. I'd been running Arch for
> several years but gave up on it recently thanks to systemd. At the moment
> my main desktop PC is running Gentoo.
>
> Earlier today I performed a fresh SMGL install on an old single core AMD
> Athlon box. It was a hand-me-down someone gave me a while back. I used the
> chroot install guide from the beta site. I got as far as the post-install
> steps. When I execute cast -c binutils gcc g++ gettext glibc the first few
> casts succeed but gcc 4.6.3 fails with:
>
> /usr/src/gcc-4.6.3.bld/./prev-gcc/xgcc -B/usr/src/gcc-4.6.3.bld/./prev-gcc/
> -B/usr/x86_64-p
> c-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/bin/
> -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /
> usr/x86_64-pc-linux-gnu/include -isystem
> /usr/x86_64-pc-linux-gnu/sys-include -c -O1 -
> march=x86-64 -fPIC -DPIC -pipe -DIN_GCC -W -Wall -Wwrite-strings
> -Wcast-qual -Wstrict-pro
> totypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic
> -Wno-long-long -Wno-varia
> dic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat
> -DHAVE_CONFIG_H -I
> . -I. -I/usr/src/gcc-4.6.3/gcc -I/usr/src/gcc-4.6.3/gcc/.
> -I/usr/src/gcc-4.6.3/gcc/../inclu
> de -I/usr/src/gcc-4.6.3/gcc/../libcpp/include
> -I/usr/src/gcc-4.6.3/gcc/../libdecnumber
> -I/usr/src/gcc-4.6.3/gcc/../libdecnumber/bid -I../libdecnumber
> insn-recog.c -o insn-recog.o
> /usr/src/gcc-4.6.3/gcc/config/i386/sse.md: In function 'recog':
> /usr/src/gcc-4.6.3/gcc/config/i386/sse.md:11578:1: internal compiler error:
> Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://bugs.sourcemage.org> for instructions.
> make[3]: Leaving directory `/usr/src/gcc-4.6.3.bld/gcc'
> make[3]: *** [insn-recog.o] Error 1
> make[2]: Leaving directory `/usr/src/gcc-4.6.3.bld'
> make[2]: *** [all-stage3-gcc] Error 2
> make[1]: Leaving directory `/usr/src/gcc-4.6.3.bld'
> make[1]: *** [stage3-bubble] Error 2
> make: *** [all] Error 2
> ! Problem Detected !
>
> Is this a known problem? I tried looking at http://bugs.sourcemage.org as
> suggested above, but there I get:
>
> Software error:
>
> DBD::mysql::db do failed: SESSION variable 'max_allowed_packet' is
> read-only. Use SET GLOBAL to assign the value [for Statement "SET SESSION
> max_allowed_packet = 3276750"] at Bugzilla/DB/Mysql.pm line 113
> Bugzilla::DB::Mysql::new('Bugzillalla::DB::Mysql', 'bugzilla', 'FM%+Yli:Q',
> 'localhost', 'bugzilla', 0, '') called at Bugzilla/DB.pm line 111
> Bugzilla::DB::_connect('mysql', 'localhost', 'bugzillagzilla', 0, '',
> 'bugzilla', 'FM%+Yli:Q') called at Bugzilla/DB.pm line 96
> Bugzilla::DB::connect_main() called at Bugzilla.pm line 317
> Bugzilla::dbh('Bugzilla') connect_mainalled at Bugzilla/Auth.pm line 58
> Bugzilla::Auth::login('Bugzilla::Authh=HASH(0x8a89dc0)', 0) called at
> Bugzilla.pm line 236
> Bugzilla::login(login'Bugzilla', 0) called at /usr/share/bugzilla/index.cgi
> line 40
>
>
>
> --
>
> Kevin
> http://www.RawFedDogs.net
> http://www.Lassie.xyz
> http://www.WacoAgilityGroup.org
> Bruceville, TX
>
> What's the definition of a legacy system? One that works!
> Errare humanum est, ignoscere caninum.
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss


--
Vlad Glagolev <stealth AT tiberian.ru>

Attachment: pgpNImJ14579O.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page