I'm trying to change the Linux I build products on, from SLES11 to CentOS 7. I 
have these version of LSB build packages installed on CentOS 7:

lsb-build-base-5.0.5-3.x86_64
lsb-build-c++-5.0.0-1.x86_64
lsb-build-cc-5.0.5-3.x86_64
lsb-build-desktop-5.0.5-3.x86_64                # Not actually using this.
lsb-build-qt3-5.0.0-1.x86_66            # Or this.
lsb-build-qt4-5.0.0-1.x86_64            # Or this.

I have been building to LSB 4.0 standards, but it seems that I need to move up 
to LSB 4.1 if I build on CentOS 7, because /opt/lsb/lib64-4.0 doesn't provide 
the symbol "dl_iterate_phdr", which GCC-run-by-lsbcc is using, but 
/opt/lsb/lib64-4.1 does have it, and it's noted as new in the LSB 4.1 release 
notes.

But I need to carry on supporting SLES11 and RHEL6. Those are LSB 4.0 systems, 
and lsb_release on them doesn't say anything about 4.1. The Wiki page at 
https://wiki.linuxfoundation.org/lsb/lsb-41-release-notes doesn't say that LSB 
4.1 code will run on 4.0 systems, although dl_iterate_phdr is present on both 
SLES11 and RHEL6.

What can I expect in the way of compatibility? I can avoid using LSB 
4.1-specific APIs in my own code, but I can't do much about the compiler's use 
of support functions.

thanks,

--
John Dallman

-----------------
Siemens Industry Software Limited is a limited company registered in England 
and Wales.
Registered number: 3476850.
Registered office: Faraday House, Sir William Siemens Square, Frimley, Surrey, 
GU16 8QD.
_______________________________________________
lsb-discuss mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/lsb-discuss

Reply via email to