Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-releng-dev] M7/RC1 Regression: Launcher fails on RHEL6

Hi platform-releng,

 

The equinox launcher was working fine on RHEL6 until 1 week before M7,

It fails with GLIBC_2.14 dependency since M7:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=517013

 

This is a late regression, and disappointing since I just fixed

https://bugs.eclipse.org/bugs/show_bug.cgi?id=515155

to support RHEL6. Dani asked me to send E-Mail to this list to see if

somebody can follow up.

 

It looks like recompiling the Launcher on a newer RHEL machine has caused the

Issue. So to fix it, either recompile on an older (RHEL6) machine, or apply the

changes from 515155 :

-          Add –fno-builtin-memmove to the compile command

-          Replace all occurrences of memcpy() by memmove() either in the code, or by using the preprocessor.

I thought about adding an #include “eclipse-memmove.h” to the 3 affected .c files with contents like this (pseudocode, sorry I don’t have more time now):

 

#if defined(LINUX) && defined (X86_64)

#  if defined(memcpy)

#    undef memcpy

#  endif

#  define memcpy memmove

#endif

 

That way, the impact remains limited to Linux x64 only.

 

Could somebody have a look at this please?

 

Thanks,

Martin

--

Martin Oberhuber, SMTS / Product Owner – Development Tools, Wind River


Back to the top