Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.arch.embedded > #30069
| From | Tauno Voipio <tauno.voipio@notused.fi.invalid> |
|---|---|
| Newsgroups | comp.arch.embedded |
| Subject | Re: Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - how to solve ? |
| Date | 2020-11-15 18:49 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <rorm6e$vrf$1@dont-email.me> (permalink) |
| References | <17f94edf-3720-40cb-a83e-0d2b3182c4c5n@googlegroups.com> |
On 15.11.20 18.34, Prijazen Dom wrote: > I'm trying to crosscompile MQTT client for ARM platform. At the final step, creation of binaries, the system reports errors below. > > I guess that I overlooked something... > > What could be the reason ? I'm not sure whether this is the problem of program I compile, or toolchain or any setting ? > > Thanks in advance, regards, R. > > Log : > .... > ... > arm-2010q1/arm-uclinuxeabi/bin/elf2flt: error: reloc type R_ARM_ABS32 is not supported for PIC > arm-2010q1/arm-uclinuxeabi/bin/elf2flt: error: reloc type R_ARM_ABS32 is not supported for PIC > arm-2010q1/arm-uclinuxeabi/bin/elf2flt: error: reloc type R_ARM_ABS32 is not supported for PIC > arm-2010q1/arm-uclinuxeabi/bin/elf2flt: error: 6402 bad relocs > collect2: ld returned 1 exit status > make[1]: *** [Makefile:26: static_pub] Error 1 > make[1]: Leaving directory 'mosquitto-1.6.12/client' > make: *** [Makefile:59: mosquitto] Error 2 Your problem is ucLinux. The complaint comes from the last stage of the run file generation, where the executable is converted to form suitable for hardware without a memory translation unit. I do not have a recipe to rectify the situation. -- -TV
Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - how to solve ? Prijazen Dom <prijazendom1@gmail.com> - 2020-11-15 08:34 -0800 Re: Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - how to solve ? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2020-11-15 18:49 +0200 Re: Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - how to solve ? David R Brooks <daveb@iinet.net.au> - 2020-11-26 10:59 +0800
csiph-web