Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Requirement for GLIBC_2.14 when building against 4.7 platform

Hello Phil,

see inline

---
Leo Ufimtsev
Software Engineer @ Red Hat

On Tue, Oct 25, 2016 at 10:49 AM, Phil Mason <phil.mason@xxxxxxxxxxxx> wrote:
Hi All,

(firstly, sorry if I've ended up on the wrong mailing list)

I'm trying to build something based on CDT against a modified platform based off head of master that I have also built. When it attempts to run some of the CDT tests I get the following error:

/tmp/tmp.FrYPqaLyZd/<path_stuff>/checkout_repos/merge_repos/build/org.eclipse.cdt.managedbuilder.core.tests/target/work/configuration/org.eclipse.osgi/234/0/.cp/libswt-pi-gtk-4716.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/tmp.FrYPqaLyZd/<path_stuff>/checkout_repos/merge_repos/build/org.eclipse.cdt.managedbuilder.core.tests/target/work/configuration/org.eclipse.osgi/234/0/.cp/libswt-pi-gtk-4716.so)

This makes sense because using ldd confirms that the .so requires a version of glibc at least 2.14 and as I'm running on RHEL6 the most modern version of glibc I have available is 2.12. I found some bug entries about related issues (see bug 501853) where a similar problem in a community Hudson server was fixed by updating the HIPP.

Is there now a requirement of glibc 2.14 for swt? If so, is there a webpage where I can look to track details of that requirement going forward?

To answer the last part, SWT does not have hard-dependencies to glibc per-se. However, we do define dependencies on a particular version of GTK, which in turn might require some version of glib, which may require some version of glibc?

Here is a dependency graph to give you a picture:
https://wiki.eclipse.org/File:Gtkbuilddep.png

We recently upgraded from Gtk2.18 as a minimum to Gtk2.24. It's possible that that bump also increased the glibc version.

I looked into the gtk repo,https://github.com/GNOME/gtk and checkout the 2-24 branch, looked into the "configure" script, it lists things like:
glib-2.0 >= 2.10.0

But I don't know how glib maps onto glibc etc...

Not sure if that helps at all...
 
Thanks

Phil


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top