LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-07-2005, 09:54 PM   #1
richardji
LQ Newbie
 
Registered: Jul 2005
Location: China
Posts: 10

Rep: Reputation: 0
ARM Toolchain Problem


Hi,
I want to build a ARM Toolchain for the S3C44B0 board.
I tried to use:
binutils-2.15, gcc-core-2.95.3, glibc-2.2.3, glibc-linuxthreads-2.2.3,
linux-2.6.0, patch-2.6.0-rmk7.

binutils compiles successfully.Then,I begin configuring gcc-2.95.3,which seems no problem.
But when I make, some errors follow:

libgcc1.S: Assembler messages:
libgcc1.S:1: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:2: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:71: Error: no such instruction: `dividend .req r0'
libgcc1.S:72: Error: no such instruction: `divisor .req r1'
libgcc1.S:73: Error: no such instruction: `result .req r2'
libgcc1.S:74: Error: no such instruction: `curbit .req r3'
libgcc1.S:75: Error: no such instruction: `ip .req r12'
libgcc1.S:76: Error: no such instruction: `sp .req r13'
libgcc1.S:77: Error: no such instruction: `lr .req r14'
libgcc1.S:78: Error: no such instruction: `pc .req r15'
libgcc1.S:86: Error: expecting operand after ','; got nothing
libgcc1.S:87: Error: no such instruction: `beq Ldiv0'
libgcc1.S:88: Error: expecting operand after ','; got nothing
libgcc1.S:89: Error: expecting operand after ','; got nothing
libgcc1.S:90: Error: too many memory references for `cmp'
libgcc1.S:91: Error: no such instruction: `bcc Lgot_result'
libgcc1.S:93: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:94: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:95: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:96: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:97: Error: expecting operand after ','; got nothing
libgcc1.S:98: Error: no such instruction: `cmpcc divisor,dividend'
libgcc1.S:99: Error: no such instruction: `movcc divisor,divisor,lsl'
libgcc1.S:100: Error: no such instruction: `movcc curbit,curbit,lsl'
libgcc1.S:101: Error: no such instruction: `bcc Loop1'
libgcc1.S:104: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:105: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:106: Error: expecting operand after ','; got nothing
libgcc1.S:107: Error: no such instruction: `cmpcc divisor,dividend'
libgcc1.S:108: Error: no such instruction: `movcc divisor,divisor,lsl'
libgcc1.S:109: Error: no such instruction: `movcc curbit,curbit,lsl'
libgcc1.S:110: Error: no such instruction: `bcc Lbignum'
libgcc1.S:113: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:114: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:115: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:116: Warning: rest of line ignored; first ignored character is `@'
libgcc1.S:117: Error: too many memory references for `cmp'
libgcc1.S:118: Error: no such instruction: `subcs dividend,dividend,divisor'
libgcc1.S:119: Error: no such instruction: `orrcs result,result,curbit'
libgcc1.S:120: Error: too many memory references for `cmp'
libgcc1.S:121: Error: no such instruction: `subcs dividend,dividend,divisor,lsr'
libgcc1.S:122: Error: no such instruction: `orrcs result,result,curbit,lsr'
libgcc1.S:123: Error: too many memory references for `cmp'
libgcc1.S:124: Error: no such instruction: `subcs dividend,dividend,divisor,lsr'
libgcc1.S:125: Error: no such instruction: `orrcs result,result,curbit,lsr'
libgcc1.S:126: Error: too many memory references for `cmp'
libgcc1.S:127: Error: no such instruction: `subcs dividend,dividend,divisor,lsr'
libgcc1.S:128: Error: no such instruction: `orrcs result,result,curbit,lsr'
libgcc1.S:129: Error: expecting operand after ','; got nothing
libgcc1.S:130: Error: no such instruction: `movnes curbit,curbit,lsr'
libgcc1.S:131: Error: no such instruction: `movne divisor,divisor,lsr'
libgcc1.S:132: Error: no such instruction: `bne Loop3'
libgcc1.S:134: Error: too many memory references for `mov'
libgcc1.S:135: Error: too many memory references for `mov'
libgcc1.S:138: Error: invalid char '[' beginning operand 2 `[sp'
libgcc1.S:139: Error: no such instruction: `bl __div0 (PLT)'
libgcc1.S:140: Error: expecting operand after ','; got nothing
libgcc1.S:141: Error: no such instruction: `ldmia sp!,{pc}'
make[1]: *** [libgcc1-asm.a] Error 1
make[1]: Leaving directory `/home/richard/tars/builddir/gcc-core/gcc'
make: *** [all-gcc] Error 2

Can anybody help me?
Thanks for your help.
 
Old 08-08-2005, 04:44 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,533

Rep: Reputation: 178Reputation: 178
"I begin configuring gcc-2.95.3,which seems no problem.
But when I make, some errors follow:

libgcc1.S: Assembler messages:
libgcc1.S:1: Warning: rest of line ignored; first ignored character is `@'"

My guess is that your libgcc version is incompatible with gcc-2.95.3. Try compiling gcc as static instead:

make BOOT_LDFLAGS=-static bootstrap &&

----------------------------
Steve Stites
 
Old 08-08-2005, 10:24 PM   #3
richardji
LQ Newbie
 
Registered: Jul 2005
Location: China
Posts: 10

Original Poster
Rep: Reputation: 0
OK,I have installed gcc-2.95.3.But there is a new problem of glibc-2,2,3.
Configuring glibc-2.2.3 is OK, there are errors when making:

makeinfo: Removing output file `/home/richard/tars/sourcedir/glibc-2.2.3/manual/libc.info' due to errors; use --force to preserve.
make[2]: *** [libc.info] Error 2
make[2]: Leaving directory `/home/richard/tars/sourcedir/glibc-2.2.3/manual'
make[1]: *** [info] Error 2
make[1]: Leaving directory `/home/richard/tars/sourcedir/glibc-2.2.3'
make: *** [info] Error 2

Jailbait, can you tell me why?
Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Broken toolchain Camino Slackware 9 11-22-2005 09:38 AM
Held on 5.9. Adjusting the Toolchain satimis Linux From Scratch 2 06-30-2005 06:36 AM
toolchain-funcs.eclass doralsoral Linux - Software 2 05-17-2005 06:54 AM
5.9. Adjusting the Toolchain - Error Spudds Linux From Scratch 6 02-23-2005 09:22 AM
6.12. Re-adjusting the Toolchain jobesd Linux From Scratch 2 01-16-2005 01:50 PM


All times are GMT -5. The time now is 09:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration