First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 179824
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 147155
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: whereami <whereami@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 179824 depends on: Show dependency tree
Bug 179824 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-26 00:56 0000
I installed a crossdev toolchain for avr, but I get this error whenever linking
my projct:

avr-gcc -mmcu=atmega644 control.o delays.o adc.o servo.o motor.o lcd.o
utility.o batt_voltmeter/voltmeter.o uart_interface/uart.o
motorcontrol/motorcontrol.o  -lm -lc -o control.elf
/usr/libexec/gcc/avr/ld: cannot open linker script file ldscripts/avr5.x: No
such file or directory

I finally worked around the issue by adding
-L/usr/x86_64-pc-linux-gnu/avr/lib
to the link command in my Makefile. I don't think this is an appropriate
solution: avr-gcc or binutils should be able to find the linker scripts it
needs without having to hold its hand.

On a hunch, I tried adding that path as the value for LDPATH in env.d/05gcc-avr
(so it would be added to ld.so.conf) but this had no effect.

I'm at a loss for how to correctly fix this.

------- Comment #1 From Jakub Moc (RETIRED) 2007-05-26 07:10:12 0000 -------

*** This bug has been marked as a duplicate of bug 147155 ***

First Last Prev Next    No search results available      Search page      Enter new bug