Mailinglist Archive: opensuse (1188 mails)
| < Previous | Next > |
Re: [opensuse] Compiling on 12.1 but running on 11.4
- From: Christoph Bartoschek <bartoschek@xxxxxxxxxxxxxx>
- Date: Wed, 25 Jan 2012 20:23:19 +0100
- Message-id: <4F2056A7.7020705@or.uni-bonn.de>
Am 25.01.2012 16:28, schrieb Cristian Rodríguez:
I hoped that there is a compiler or linker option to achieve this. I do not what to change the source because then the danger exists that I accidentally check the hack in.
Christoph
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx
On 25/01/12 12:17, Cristian Rodríguez wrote:
__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
In the source code.
ps: This is somewhat hackish (or "advanced vodoo" if you want a positive
word for it :-D ) It is expected and intended to work just fine, however
I strongly suggest you to use as a last resort.
I hoped that there is a compiler or linker option to achieve this. I do not what to change the source because then the danger exists that I accidentally check the hack in.
Christoph
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx
| < Previous | Next > |