Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Can't emerge avr-gcc:

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Gentoobelix
n00b
n00b
Posts: 4
Joined: Wed Mar 17, 2004 12:16 pm
Location: Austria

Can't emerge avr-gcc:

  • Quote

Post by Gentoobelix » Wed Mar 17, 2004 12:30 pm

Hello!

I have problems installing avr-gcc. After unpacking the sources emerge gives the following error-message:

Code: Select all

>>> emerge (1 of 1) dev-embedded/avr-gcc-3.3-r1 to /
>>> md5 src_uri ;-) gcc-3.3.tar.bz2
>>> Unpacking source...
>>> Unpacking gcc-3.3.tar.bz2 to /var/tmp/portage/avr-gcc-3.3-r1/work
>>> Source unpacked.

!!! ERROR: dev-embedded/avr-gcc-3.3-r1 failed.
!!! Function econf, Line 367, Exitcode 1
!!! no configure script found

What can I do? Is it a broken ebuild-package? I'm quite new to Gentoo, therefore I don't have any clue what I could try to fix the problem.

Thanks for any help,

Christian
Top
bobmoretti
n00b
n00b
Posts: 3
Joined: Thu Mar 18, 2004 3:43 am
Location: University of Washington, Seattle, WA, USA
Contact:
Contact bobmoretti
Website

  • Quote

Post by bobmoretti » Thu Mar 18, 2004 4:34 am

I had the same problem, tonight, trying to emerge avr-gcc.

I really have limited knowledge about how an ebuild file (or even a bash shell sciprt) is supposed to work. I tried hacking the ebuild (replacing the econf with ${WORK}/gcc-3.3/configure), and got a little further, but not much.

I finally gave up, and just untarred the gcc source and am compiling it right now.

It would be nice if this got fixed. If I don't get a useful reply to this in the next couple of days I will submit a bug report...
"We'll just fix it in software."

--Larry Barello, about robotics
Top
Gentoobelix
n00b
n00b
Posts: 4
Joined: Wed Mar 17, 2004 12:16 pm
Location: Austria

  • Quote

Post by Gentoobelix » Thu Mar 18, 2004 7:09 am

bobmoretti wrote:It would be nice if this got fixed. If I don't get a useful reply to this in the next couple of days I will submit a bug report...
I submitted a but report yesterday:

http://bugs.gentoo.org/show_bug.cgi?id=44979

You could add your report there, so they know that I'm not the only one with this problems.
Top
bobmoretti
n00b
n00b
Posts: 3
Joined: Thu Mar 18, 2004 3:43 am
Location: University of Washington, Seattle, WA, USA
Contact:
Contact bobmoretti
Website

  • Quote

Post by bobmoretti » Thu Mar 18, 2004 7:41 am

What's interesting is that I can't seem to get gcc 3.3 to cross compile for the AVR target, period. I've done it before, but it was a year ago.

I finally just gave up and downloaded avr tools (winavr) for windows on a windows box. BTW, I've been using gentoo/portage for over a year now, and this is only the second or third time it's been b0rked like this. And I think it might not even be a gentoo error, seeing how I'm having all this trouble trying to cross compile manually.
"We'll just fix it in software."

--Larry Barello, about robotics
Top
Trace
n00b
n00b
Posts: 8
Joined: Mon Dec 08, 2003 11:30 am

  • Quote

Post by Trace » Thu Mar 18, 2004 7:58 pm

Hi,

I just fixed the ebuild for the avr-gcc and submitted it to the aforementioned bug.

HTH :)

Edit:

For the avr-libc look at http://bugs.gentoo.org/show_bug.cgi?id=45056
Top
bobmoretti
n00b
n00b
Posts: 3
Joined: Thu Mar 18, 2004 3:43 am
Location: University of Washington, Seattle, WA, USA
Contact:
Contact bobmoretti
Website

  • Quote

Post by bobmoretti » Thu Mar 18, 2004 8:42 pm

Yes, that helped, but I was able to get that far on my own.

Now I have this porblem:

Code: Select all

config/avr/libgcc.S: Assembler messages:
config/avr/libgcc.S:129: Error: suffix or operands invalid for `clr'
config/avr/libgcc.S:129: Error: no such instruction: `clear result'
config/avr/libgcc.S:130: Error: suffix or operands invalid for `clr'
config/avr/libgcc.S:130: Error: no such instruction: `clear result'
config/avr/libgcc.S:132: Error: no such instruction: `sbrs r24,0'
config/avr/libgcc.S:133: Error: no such instruction: `rjmp __mulhi3_skip1'
config/avr/libgcc.S:134: Error: too many memory references for `add'
config/avr/libgcc.S:134: Error: no such instruction: `result +multiplicand'
config/avr/libgcc.S:135: Error: too many memory references for `adc'
config/avr/libgcc.S:137: Error: too many memory references for `add'
config/avr/libgcc.S:137: Error: no such instruction: `shift multiplicand'
config/avr/libgcc.S:138: Error: too many memory references for `adc'
config/avr/libgcc.S:140: Error: no such instruction: `cp r22,r1'
config/avr/libgcc.S:141: Error: no such instruction: `cpc r23,r1'
config/avr/libgcc.S:142: Error: no such instruction: `breq __mulhi3_exit'
config/avr/libgcc.S:142: Error: no such instruction: `while multiplicand!=0'
config/avr/libgcc.S:144: Error: no such instruction: `lsr r25'
config/avr/libgcc.S:144: Error: no such instruction: `gets LSB of multiplier'
config/avr/libgcc.S:145: Error: no instruction mnemonic suffix given and no register operands; can't size instruction
config/avr/libgcc.S:146: Error: no such instruction: `sbiw r24,0'
config/avr/libgcc.S:147: Error: no such instruction: `brne __mulhi3_loop'
config/avr/libgcc.S:147: Error: no such instruction: `exit if multiplier=0'
config/avr/libgcc.S:149: Error: too many memory references for `mov'
config/avr/libgcc.S:149: Error: no such instruction: `result to return register'
config/avr/libgcc.S:150: Error: too many memory references for `mov'
make[2]: *** [libgcc/./_mulhi3.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/avr-gcc-3.3-r1/work/gcc-3.3/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/var/tmp/portage/avr-gcc-3.3-r1/work/gcc-3.3/gcc'
make: *** [all-gcc] Error 2

!!! ERROR: dev-embedded/avr-gcc-3.3-r1 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! (no error message)
And there are more assembler error messages above that. Interestingly enough, I get those same problems when I attempt to manually cross compile gcc. Does anyone know what's going on? This doesn't seem to be gentoo related, rather a problem with gcc.
"We'll just fix it in software."

--Larry Barello, about robotics
Top
nervousfinger
n00b
n00b
User avatar
Posts: 20
Joined: Wed Feb 04, 2004 1:43 pm

  • Quote

Post by nervousfinger » Tue Oct 26, 2004 8:01 pm

*jumptotop* ;)

I'm getting the same problem as bobmoretti here?
any solutions?

regards
finger
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic