What | Removed | Added |
---|---|---|
Assignee | rguenther@suse.com | kkaempf@suse.com |
(In reply to Maik Hoffmann from comment #4) > > > echo 'int main() {}' > t.c > > > avr-gcc t.c > > /usr/lib64/gcc/avr/7/ld: warning: -z relro ignored. > > rguenther@murzim:/tmp> file a.out > > a.out: ELF 32-bit LSB executable, Atmel AVR 8-bit, version 1 (SYSV), > > statically linked, BuildID[sha1]=061130270a1d2812138c3bdd0fc35347fb8c3869, > > not stripped > > > > so it works just fine (and yes, avr-libc is installed in /usr/avr/sys-root). > > Just compiling one file is not my (and others) problem. > As you can see the problem appears during linking. There is a little bit > more stuff to do for a uC hex-file. > > Currently I'm working with a self compiled toolchain in ~/bin/. > Not the first time and not the first software package with OpenSuSE. > > It should be possible with a simple installation of needed packges to run > the workflow. You are mixing packages from different sources which are not configured in a way to inter-operate well. You are not giving enough instructions to even reproduce the issue - _what_ are you building, _what_ packages exactly do you have installed. Your quoted failure doesn't use cross-avr-binutils from Leap or devel:gcc. So please use an AVR toolchain from a _single_ source and then specify what source you used because only then the appropriate people can look at the bug. I am only responsible for what is in Leap/Tumbleweed and devel:gcc and this combination works. (well, there's no avr-libc in Leap IIRC but you can use the one from devel:gcc when you use cross-avr-gcc version >= 7) So - if you don't like WORKSFORME then let's have this bug assigned to the appropriate people (devel:gcc WORKSFORME).