Re: avr-gcc refusing to link against avr-libc in Fedora 23

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28.07.2016 13:37, spike wrote:
> Is there some piece of information that would be helpful to sort out, what's going on? Btw: I've tried the c++ compiler/linker as well, same story...

Here's some more verbose output. It's not unlikely that this is a pebkac error...

$ avr-g++ -v -Wl,-Map,ArduinoTest_cpp.map,--cref -mrelax -Wl,--gc-sections -mmcu=atmega328p -o "ArduinoTest_cpp.elf"  ./main.o   -l"/home/spike/workspaceAVR/libarduino/328P_16MHz/liblibarduino.a"
Using built-in specs.
COLLECT_GCC=/usr/bin/avr-g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/avr/4.9.3/lto-wrapper
Target: avr
Configured with: ../gcc-4.9.3/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --target=avr --enable-languages=c,c++ --disable-nls --disable-libssp --with-system-zlib --enable-version-specific-runtime-libs --with-pkgversion='Fedora 4.9.3-1.fc23' --with-bugurl=https://bugzilla.redhat.com/
Thread model: single
gcc version 4.9.3 (Fedora 4.9.3-1.fc23) 
COMPILER_PATH=/usr/libexec/gcc/avr/4.9.3/:/usr/libexec/gcc/avr/4.9.3/:/usr/libexec/gcc/avr/:/usr/lib/gcc/avr/4.9.3/:/usr/lib/gcc/avr/:/usr/lib/gcc/avr/4.9.3/../../../../avr/bin/
LIBRARY_PATH=/usr/lib/gcc/avr/4.9.3/avr5/:/usr/lib/gcc/avr/4.9.3/../../../../avr/lib/avr5/:/usr/lib/gcc/avr/4.9.3/:/usr/lib/gcc/avr/4.9.3/../../../../avr/lib/
COLLECT_GCC_OPTIONS='-v' '-mrelax' '-mmcu=atmega328p' '-o' 'ArduinoTest_cpp.elf'
 /usr/libexec/gcc/avr/4.9.3/collect2 -plugin /usr/libexec/gcc/avr/4.9.3/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/avr/4.9.3/lto-wrapper -plugin-opt=-fresolution=/tmp/ccui8D2E.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lc --relax -m avr5 -Tdata 0x800100 -o ArduinoTest_cpp.elf /usr/lib/gcc/avr/4.9.3/../../../../avr/lib/avr5/crtm328p.o -L/usr/lib/gcc/avr/4.9.3/avr5 -L/usr/lib/gcc/avr/4.9.3/../../../../avr/lib/avr5 -L/usr/lib/gcc/avr/4.9.3 -L/usr/lib/gcc/avr/4.9.3/../../../../avr/lib -Map ArduinoTest_cpp.map --cref --gc-sections ./main.o -l/home/spike/workspaceAVR/libarduino/328P_16MHz/liblibarduino.a -lgcc -lm --start-group -lgcc -lm -lc --end-group
/usr/lib/gcc/avr/4.9.3/../../../../avr/bin/ld: cannot find -l/home/spike/workspaceAVR/libarduino/328P_16MHz/liblibarduino.a
collect2: error: ld returned 1 exit status
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux