LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-19-2006, 05:35 AM   #1
kotao_78
LQ Newbie
 
Registered: Sep 2006
Posts: 19

Rep: Reputation: 0
Gcc internal error when cross compile


HI All,

I use arm_gcc to cross compile ffmpeg , it return following error message and compilation terminated.

snow.c: In function `add_yblock_buffered':
snow.c:2605: warning: left shift count is negative
snow.c: In function `add_yblock':
snow.c:2758: warning: left shift count is negative
snow.c: In function `predict_slice_buffered':
snow.c:2834: warning: passing arg 6 of `add_yblock_buffered' discards qualifiers from pointer target type
snow.c: In function `predict_slice':
snow.c:2892: warning: passing arg 5 of `add_yblock' discards qualifiers from pointer target type
snow.c: In function `common_init':
snow.c:3244: warning: assignment from incompatible pointer type
snow.c:3244: warning: assignment from incompatible pointer type
snow.c:3245: warning: assignment from incompatible pointer type
snow.c:3245: warning: assignment from incompatible pointer type
snow.c:3246: warning: assignment from incompatible pointer type
snow.c:3246: warning: assignment from incompatible pointer type
snow.c:3247: warning: assignment from incompatible pointer type
snow.c:3247: warning: assignment from incompatible pointer type
armv5tejl-unknown-linux-gnu-gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http:_//gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [snow.o] Error 1
make[1]: Leaving directory `/tmp/vlc_arm/ffmpeg-20051126/libavcodec'
make: *** [lib] Error 2

Any advise , thanks.

Best Regards
 
Old 09-19-2006, 03:24 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
My guess is that the compiler has fallen into a never-ending loop (it happens for includes, for example). Which gcc version is it? Have you checked the makefile if it's correct for arm_elf? It requires different compliation options.
 
Old 09-20-2006, 03:20 AM   #3
kotao_78
LQ Newbie
 
Registered: Sep 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for your response

My gcc version is gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)

And the configuration option is ,

./configure --cpu=armv41 --disable-mmx \
--prefix=/usr/local/arm-vlc/thirdparty --enable-shared \
--cc=arm-none-linux-gnueabi-gcc
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Glib cross compile error m.harshavardhan Linux - General 1 12-04-2007 03:31 AM
Weird problem, can't compile kernel: gcc: Internal error:Segmentation fault (prgm as) abefroman Linux - Software 4 08-01-2006 05:28 PM
Problem with gcc powerpc cross compile !! rohya_joshi Linux - Software 2 02-07-2006 12:44 AM
Can gcc cross-compile C code to M68K Assembly? lowpro2k3 Programming 1 03-25-2005 07:50 AM
Setting up GCC for cross-compile ugenn Linux - Software 0 02-20-2003 09:08 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration