public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: Igor Chudov <Igor_Chudov@epam.com>
To: "libc-help@sourceware.org" <libc-help@sourceware.org>
Subject: libc/libstdc++ compatibility between versions
Date: Thu, 09 Aug 2018 07:51:00 -0000	[thread overview]
Message-ID: <AM0PR03MB476992485B60FC17F412478EE3250@AM0PR03MB4769.eurprd03.prod.outlook.com> (raw)

Hello!

I and my colleagues have a problem: We're compiling C++98 solib using GCC 4.4 on CentOS 6. We want to move to the newer compiler (GCC 4.8 on CentOS 7) but we still want the resulting DSO might be used by CentOS 6 users. So the question is:
- Is it possible to force linking with specific API version of glibc so we will be able to lock the functionality on CentOS 6 version of glibc? Maybe it is possible using linker scripts?

Any help would be appreciated.
---
IGOR CHUDOV 
Junior Software Engineer 
 


             reply	other threads:[~2018-08-09  7:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-09  7:51 Igor Chudov [this message]
2018-08-09 12:56 ` Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM0PR03MB476992485B60FC17F412478EE3250@AM0PR03MB4769.eurprd03.prod.outlook.com \
    --to=igor_chudov@epam.com \
    --cc=libc-help@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).