Project

General

Profile

Bug #1017

[windows][objc2] Linker error when linking static executable with libobjc2

Added by Dmitry Moskalchuk almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
Start date:
07/28/2015
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
x86_64
Host OS:
Windows
Toolchain:
Android version:
CrystaX Version:

Description

2015-07-28 16:08:45.498 UTC: > [x86_64] Executable : test-static
2015-07-28 16:08:45.498 UTC: > C:/tmp/crystaxndk-ndk/crystax-ndk-10.2.1-b634-windows-x86_64/toolchains/x86_64-4.9/prebuilt/windows-x86_64/bin/x86_64-linux-android-g++ -Wl,--gc-sections -Wl,-z,nocopyreloc --sysroot=C:/tmp/crystaxndk-ndk/crystax-ndk-10.2.1-b634-windows-x86_64/platforms/android-21/arch-x86_64 -Wl,-rpath-link=C:/tmp/crystaxndk-ndk/crystax-ndk-10.2.1-b634-windows-x86_64/platforms/android-21/arch-x86_64/usr/lib -Wl,-rpath-link=./obj/local/x86_64 ./obj/local/x86_64/objs/test-static/test.o C:/tmp/crystaxndk-ndk/crystax-ndk-10.2.1-b634-windows-x86_64/sources/objc/gnustep-libobjc2/libs/x86_64/libobjc.a -lgcc -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -fPIE -pie -LC:/tmp/crystaxndk-ndk/crystax-ndk-10.2.1-b634-windows-x86_64/sources/crystax/empty C:/tmp/crystaxndk-ndk/crystax-ndk-10.2.1-b634-windows-x86_64/sources/crystax/libs/x86_64/libcrystax.so -lc -o ./obj/local/x86_64/test-static
2015-07-28 16:08:45.655 UTC: * C:/tmp/crystaxndk-ndk/crystax-ndk-10.2.1-b634-windows-x86_64/toolchains/x86_64-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/x86_64-linux-android/4.9/../../../../x86_64-linux-android/bin/ld.exe: final link failed: Nonrepresentable section on output
2015-07-28 16:08:45.655 UTC: * collect2.exe: error: ld returned 1 exit status

History

#1 Updated by Dmitry Moskalchuk almost 4 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF