DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-12-30 18:58:01

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

New version of gcc package needed?

Hello,

I have been trying to compile openttd on my CH3SNAS, but having some issues.

http://www.tt-forums.net/viewtopic.php?p=844328#p844328

Mainly just an illegal instruction error during make from the gcc compiler on a basic line:

Code:

[SRC] Compiling saveload/afterload.cpp/mnt/usb/ffp/openttd/src/saveload/afterload.cpp: In function 'bool AfterLoadGame()':/mnt/usb/ffp/openttd/src/saveload/afterload.cpp:1811: internal compiler error: Illegal instructionPlease submit a full bug report,with preprocessed source if appropriate.See <URL:http://gcc.gnu.org/bugs.html> for instructions.make[1]: *** [saveload/afterload.o] Error 1make[1]: Leaving directory `/mnt/usb/ffp/openttd/objs/release'make: *** [all] Error 2

That line 1811 is

Code:

if (_settings_game.economy.town_layout == 0) { // was TL_NO_ROA

Could there be something wrong with the gcc that I use? (gcc-4.1-2.tgz) ?

Maybe it's a good idea to generate a more recent gcc? (I guess this sounds easier than it is).

Offline

 

#2 2010-01-04 08:45:18

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: New version of gcc package needed?

This happens with a few packages. Maybe a bug in the hardware or the linux kernel or whatever. Compiling in QEMU should work.

Offline

 

#3 2010-01-04 13:32:45

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Re: New version of gcc package needed?

Ok, I'll try QEMU.

I also tried to compile it in a Debian chroot (gcc-4:4.3.2-2), and that was succesful.

Last edited by Opperpanter (2010-01-04 13:33:54)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB