Rockbox Development > Starting Development and Compiling
rockboxdev.sh gcc/combine.c error
crowd345:
Hello to everybody who care enough to read this topic!
I'm new here, so i am not sure is this right part of forum to ask such question or not. I hope so.
I followed this instruction The Simple Guide To Compiling In Linux with my home Ubuntu 10.10, and couple times with VirtualBoxed one (same version of Ubuntu, but it was preinstalled and i downloaded it from http://downloads.sourceforge.net/virtualboximage/ubuntu-xxx.vdi.bz2).
I believe i take steps exactly how it stated in manual, but after i launch in terminal command:
--- Code: ---sudo ./rockboxdev.sh
--- End code ---
i can see lots of work that my PC is doing. But after probably 30 mins it stops and give me this information:
--- Code: --- I../../gcc-4.4.4/gcc/../libdecnumber -I../../gcc-4.4.4/gcc/../libdecnumber/dpd -I../libdecnumber ../../gcc-4.4.4/gcc/combine.c -o combine.o
../../gcc-4.4.4/gcc/combine.c: In function 'make_extraction':
../../gcc-4.4.4/gcc/combine.c:6776: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[2]: *** [combine.o] Error 1
make[2]: Leaving directory `/tmp/rbdev-build/build-gcc/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/tmp/rbdev-build/build-gcc'
make: *** [all] Error 2
ubuntu@ubuntu-VirtualBox:~/rockbox/tools$
--- End code ---
Please suggest something that can fix this bug. Thanks!
P.S. target arch is "e - arm-eabi - ipod"
AlexP:
For target arch you just type "e", not the rest of the line but I don't think that should have caused this.
To clarify, you are running this in a ubuntu 10.10 VM?
crowd345:
--- Quote from: AlexP on January 30, 2011, 05:36:44 AM ---For target arch you just type "e", not the rest of the line but I don't think that should have caused this.
--- End quote ---
No, that's just misunderstanding. Actually i taped it correct ("e"), but thought to give a little more information about it. Never mind..
--- Quote from: AlexP on January 30, 2011, 05:36:44 AM ---To clarify, you are running this in a ubuntu 10.10 VM?
--- End quote ---
Well, yes. And as i stated in previous post i also tried it on my real home Ubuntu 10.10 and got stocked with same error message.
After it i can try to use "../tools/configure" command and it will give me that (I believe my "$PATH" parameter is correct just proper compiler doesn't installed):
--- Code: ---21
Platform set to ipodnano1g
Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, (C)heckWPS, (D)atabase tool, (M)anual: (Defaults to N)
n
Normal build selected
Using source code root directory: /home/maxim/rockbox
../tools/configure: 3041: arm-elf-eabi-gcc: not found
[WARNING] The compiler you must use (arm-elf-eabi-gcc) is not in your path!
[WARNING] this may cause your build to fail since we cannot do the
[WARNING] checks we want now.
Using arm-elf-eabi-ld 2.20.1.20100303
Created Makefile
maxim@m-desktop:~/rockbox/build$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
maxim@m-desktop:~/rockbox/build$
--- End code ---
Post Merge: January 30, 2011, 10:28:30 AMI believe there should be many people using 10.10. Is anybody from you faced such problem or that's just me?
torne:
If you try doing it again, does it fail at the same place, or a different file during the build? If it's random places then the most common cause is flaky hardware (bad RAM is common). If it's consistent then something is probably wrong with the VM...
crowd345:
You guys undermine my confidence in English skills :P
(i'm not a native speaker and you are probably already noticed that)
--- Quote from: torne on January 30, 2011, 02:09:22 PM ---If you try doing it again, does it fail at the same place, or a different file during the build?
--- End quote ---
"i also tried it on my real home Ubuntu 10.10 and got stocked with same error message."
In summary i tried it one time with my real system and probably 3 times with clean brand new VirtualBoxed one (That was downloaded from sourceforge.net). That's always 100% same error in same module.
--- Quote from: torne on January 30, 2011, 02:09:22 PM ---If it's consistent then something is probably wrong with the VM...
--- End quote ---
Well, that doesn't explain why this error also affected my real Ubuntu system (not VM).
Could it possibly be a problem with .sh script? Because i have up to date pretty "out of the box" OS with minor changes. Please tell me if you are sure there nothing wrong with script when i'll just try VMWare Image or some another way. Thank you for your help!
Navigation
[0] Message Index
[#] Next page
Go to full version