Chris Buck(deleted)
|
QNX 7/Momentics 4.7 C linker error: VFP Register arguments
|
Chris Buck(deleted)
01/18/2018 5:27 PM
post118405
|
QNX 7/Momentics 4.7 C linker error: VFP Register arguments
I am porting a resource manager from QNX 6.5 to 7.0 and it is split into two projects: the main application code and a
statically-linked library. When compiling for 6.5 everything works without any problems, but when I try to compile the
exact same projects for QNX 7 I get the following linker error (actually, many instances of the same error):
c:\qnx700\\host\win64\x86_64\usr\bin\arm-unknown-nto-qnx7.0.0eabi-ld: error: nameofexecutable uses VFP register
arguments, nameoflibraryfile.a(filename.o) does not
c:\qnx700\\host\win64\x86_64\usr\bin\arm-unknown-nto-qnx7.0.0eabi-ld: failed to merge target specific data of file
nameoflibraryfile.a(filename.o)
If I take all of the source files from the library project and add them to the executable project everything works fine.
I did some research on the error and see that "VFP register arguments" relate to floating-point arguments and how they
are passed, but neither my application nor my library have any floating-point arithmetic whatsoever (no floats, no
doubles).
Has anyone seen anything like this using the QNX 7 C compiler? I am cross-compiling to an ARM CPU target. Thanks!
|
|
|