Bug 1190 - 'memcpy@GLIBC_2.4' error while jogl compilation
Summary: 'memcpy@GLIBC_2.4' error while jogl compilation
Status: UNCONFIRMED
Alias: None
Product: General
Classification: JogAmp
Component: builds (show other bugs)
Version: 2.4.0
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2015-08-11 09:12 CEST by iNik
Modified: 2015-10-09 06:32 CEST (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments
glibc gcc info (1.05 KB, application/octet-stream)
2015-08-11 09:12 CEST, iNik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iNik 2015-08-11 09:12:01 CEST
Created attachment 717 [details]
glibc gcc info

Attempt to build JOGL project with the newer toolchain (toolchain info attached) causes the ' No symbol version section for versioned symbol `memcpy@GLIBC_2.4 ' error.

Full message:
c.build.nativewindow.windowlib.x11:
     [echo] Output lib name = nativewindow_x11
     [echo] c.compiler.use-jawt false
     [echo] nativewindow_x11.useLibJAWT ${nativewindow_x11.useLibJAWT}
     [echo] Compiling nativewindow_x11
     [echo] java.lib.dir.platform: /usr/java/jdk1.8.0_51/jre/../jre/lib/arm
       [cc] 4 total files to be compiled.
       [cc] cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
       [cc] cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
       [cc] cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
       [cc] /home/root/jogl/build-linux-armv6hf/nativewindow/gensrc/native/X11/X11Lib_JNI.c: In function 'Java_jogamp_nativewindow_x11_X11Lib_XSynchronize__JZ':
       [cc] /home/root/jogl/build-linux-armv6hf/nativewindow/gensrc/native/X11/X11Lib_JNI.c:254:8: warning: assignment makes integer from pointer without a cast
       [cc]    _res = XSynchronize((Display *) (intptr_t) display, (Bool) onoff);
       [cc]         ^
       [cc] cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
       [cc] Starting link
       [cc] /usr/lib/gcc/arm-poky-linux-gnueabi/4.9.2/../../../../arm-poky-linux-gnueabi/bin/ld: libnativewindow_x11.so: No symbol version section for versioned symbol `memcpy@GLIBC_2.4'
       [cc] /usr/lib/gcc/arm-poky-linux-gnueabi/4.9.2/../../../../arm-poky-linux-gnueabi/bin/ld: final link failed: Nonrepresentable section on output
       [cc] collect2: error: ld returned 1 exit status

BUILD FAILED
/home/root/jogl/make/build.xml:71: The following error occurred while executing this line:
/home/root/jogl/make/build-nativewindow.xml:749: The following error occurred while executing this line:
/home/root/jogl/make/build-nativewindow.xml:681: gcc failed with return code 1