* [gentoo-user] Changing glibc
@ 2014-08-18 18:06 Timur Aydin
2014-08-18 18:11 ` Manuel McLure
` (4 more replies)
0 siblings, 5 replies; 13+ messages in thread
From: Timur Aydin @ 2014-08-18 18:06 UTC (permalink / raw
To: gentoo-user
Hi,
I am using a closed source software package on my 64 bit gentoo linux
system. The software package is "beyond compare" by scooter soft.
Because of the way this package is built, it needs a specially patched
version of glibc. I have patched my existing glibc version (2.18) and
have been avoiding updating my glibc since. Now I am wondering whether
the latest update of bcompare will work with the latest glibc (2.19).
So, if I upgrade to 2.19 and the package doesn't work, how can I go back
to the working, patched 2.18? I know that portage issues the most scary
warnings when you try to downgrade glibc. So what does the community
recommend?
--
Timur
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Changing glibc
2014-08-18 18:06 [gentoo-user] Changing glibc Timur Aydin
@ 2014-08-18 18:11 ` Manuel McLure
2014-08-18 18:15 ` Kerin Millar
` (3 subsequent siblings)
4 siblings, 0 replies; 13+ messages in thread
From: Manuel McLure @ 2014-08-18 18:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]
One option is to copy the glibc version you want to some other directory
and set LD_LIBRARY_PATH before starting the executable. Running "ldd" on
all the executables/shared libraries in question should give you a list of
all the shared libraries you might need to copy to a safe place.
On Mon, Aug 18, 2014 at 11:06 AM, Timur Aydin <ta@taydin.org> wrote:
> Hi,
>
> I am using a closed source software package on my 64 bit gentoo linux
> system. The software package is "beyond compare" by scooter soft. Because
> of the way this package is built, it needs a specially patched version of
> glibc. I have patched my existing glibc version (2.18) and have been
> avoiding updating my glibc since. Now I am wondering whether the latest
> update of bcompare will work with the latest glibc (2.19).
>
> So, if I upgrade to 2.19 and the package doesn't work, how can I go back
> to the working, patched 2.18? I know that portage issues the most scary
> warnings when you try to downgrade glibc. So what does the community
> recommend?
>
> --
> Timur
>
>
--
Manuel A. McLure WW1FA <manuel@mclure.org> <http://www.mclure.org>
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat. -- H.P. Lovecraft
[-- Attachment #2: Type: text/html, Size: 1783 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Changing glibc
2014-08-18 18:06 [gentoo-user] Changing glibc Timur Aydin
2014-08-18 18:11 ` Manuel McLure
@ 2014-08-18 18:15 ` Kerin Millar
2014-08-18 18:21 ` J. Roeleveld
` (2 subsequent siblings)
4 siblings, 0 replies; 13+ messages in thread
From: Kerin Millar @ 2014-08-18 18:15 UTC (permalink / raw
To: gentoo-user
On 18/08/2014 19:06, Timur Aydin wrote:
> Hi,
>
> I am using a closed source software package on my 64 bit gentoo linux
> system. The software package is "beyond compare" by scooter soft.
> Because of the way this package is built, it needs a specially patched
> version of glibc. I have patched my existing glibc version (2.18) and
> have been avoiding updating my glibc since. Now I am wondering whether
> the latest update of bcompare will work with the latest glibc (2.19).
>
> So, if I upgrade to 2.19 and the package doesn't work, how can I go back
> to the working, patched 2.18? I know that portage issues the most scary
> warnings when you try to downgrade glibc. So what does the community
> recommend?
>
You should be able to downgrade glibc, provided that you haven't built
and installed any new packages following the transition from glibc-2.18
to glibc-2.19. That said, I would suggest that you back up the root
filesystem as a contingency measure.
Still, why not test bcompare in a chroot? The latest stage3 tarball
probably includes glibc-2.19 by now.
--Kerin
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Changing glibc
2014-08-18 18:06 [gentoo-user] Changing glibc Timur Aydin
2014-08-18 18:11 ` Manuel McLure
2014-08-18 18:15 ` Kerin Millar
@ 2014-08-18 18:21 ` J. Roeleveld
2014-08-18 19:12 ` Rich Freeman
2014-08-18 19:56 ` [gentoo-user] " Timur Aydin
2014-08-18 20:38 ` [gentoo-user] " James
4 siblings, 1 reply; 13+ messages in thread
From: J. Roeleveld @ 2014-08-18 18:21 UTC (permalink / raw
To: gentoo-user
On 18 August 2014 20:06:51 CEST, Timur Aydin <ta@taydin.org> wrote:
>Hi,
>
>I am using a closed source software package on my 64 bit gentoo linux
>system. The software package is "beyond compare" by scooter soft.
>Because of the way this package is built, it needs a specially patched
>version of glibc. I have patched my existing glibc version (2.18) and
>have been avoiding updating my glibc since. Now I am wondering whether
>the latest update of bcompare will work with the latest glibc (2.19).
>
>So, if I upgrade to 2.19 and the package doesn't work, how can I go
>back
>to the working, patched 2.18? I know that portage issues the most scary
>
>warnings when you try to downgrade glibc. So what does the community
>recommend?
In cases like that I would do either of the following:
1) Run it inside a VM
2) run it inside a chroot
That way you can easily keep everything updated except for that application.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Changing glibc
2014-08-18 18:21 ` J. Roeleveld
@ 2014-08-18 19:12 ` Rich Freeman
2014-08-18 20:36 ` J. Roeleveld
2014-08-18 21:17 ` [gentoo-user] " Grant Edwards
0 siblings, 2 replies; 13+ messages in thread
From: Rich Freeman @ 2014-08-18 19:12 UTC (permalink / raw
To: gentoo-user
On Mon, Aug 18, 2014 at 2:21 PM, J. Roeleveld <joost@antarean.org> wrote:
>
> In cases like that I would do either of the following:
>
> 1) Run it inside a VM
> 2) run it inside a chroot
>
> That way you can easily keep everything updated except for that application.
Or better still run it inside a container. Gives you most of the
benefits of both a VM and a chroot. It isn't as isolated as a VM, but
it is more isolated than just running the thing on your system. It is
also easy to bind-mount your home directory if that is helpful. A
container replaces the entire userspace, potentially including init as
well. So, as long as your kernel is compatible and you're not doing
anything too crazy with devices, this should solve your compatibility
issues.
--
Rich
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Changing glibc
2014-08-18 18:06 [gentoo-user] Changing glibc Timur Aydin
` (2 preceding siblings ...)
2014-08-18 18:21 ` J. Roeleveld
@ 2014-08-18 19:56 ` Timur Aydin
2014-08-20 6:58 ` Mick
2014-08-18 20:38 ` [gentoo-user] " James
4 siblings, 1 reply; 13+ messages in thread
From: Timur Aydin @ 2014-08-18 19:56 UTC (permalink / raw
To: gentoo-user
Thanks a lot guys for the helpful responses. I will definitely try all
of them, just for the learning experience, even if one does take care of
the problem.
Cheers!
--
Timur
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Changing glibc
2014-08-18 19:12 ` Rich Freeman
@ 2014-08-18 20:36 ` J. Roeleveld
2014-08-18 21:17 ` [gentoo-user] " Grant Edwards
1 sibling, 0 replies; 13+ messages in thread
From: J. Roeleveld @ 2014-08-18 20:36 UTC (permalink / raw
To: gentoo-user
On Monday, August 18, 2014 03:12:15 PM Rich Freeman wrote:
> On Mon, Aug 18, 2014 at 2:21 PM, J. Roeleveld <joost@antarean.org> wrote:
> > In cases like that I would do either of the following:
> >
> > 1) Run it inside a VM
> > 2) run it inside a chroot
> >
> > That way you can easily keep everything updated except for that
> > application.
> Or better still run it inside a container. Gives you most of the
> benefits of both a VM and a chroot. It isn't as isolated as a VM, but
> it is more isolated than just running the thing on your system. It is
> also easy to bind-mount your home directory if that is helpful. A
> container replaces the entire userspace, potentially including init as
> well. So, as long as your kernel is compatible and you're not doing
> anything too crazy with devices, this should solve your compatibility
> issues.
I should look into those.
Just noticed there is also a libvirt driver for it:
http://libvirt.org/drvlxc.html
> --
> Rich
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: Changing glibc
2014-08-18 18:06 [gentoo-user] Changing glibc Timur Aydin
` (3 preceding siblings ...)
2014-08-18 19:56 ` [gentoo-user] " Timur Aydin
@ 2014-08-18 20:38 ` James
4 siblings, 0 replies; 13+ messages in thread
From: James @ 2014-08-18 20:38 UTC (permalink / raw
To: gentoo-user
Timur Aydin <ta <at> taydin.org> writes:
> I am using a closed source software package on my 64 bit gentoo linux
> system. The software package is "beyond compare" by scooter soft.
> Because of the way this package is built, it needs a specially patched
> version of glibc. I have patched my existing glibc version (2.18) and
> have been avoiding updating my glibc since. Now I am wondering whether
> the latest update of bcompare will work with the latest glibc (2.19).
Why not contact "scooter soft" and inquire about their plans to
support glibc (2.19), after explaining your experience with (2.19)?
just curious,
James
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: Changing glibc
2014-08-18 19:12 ` Rich Freeman
2014-08-18 20:36 ` J. Roeleveld
@ 2014-08-18 21:17 ` Grant Edwards
2014-08-18 22:03 ` Alan McKinnon
1 sibling, 1 reply; 13+ messages in thread
From: Grant Edwards @ 2014-08-18 21:17 UTC (permalink / raw
To: gentoo-user
On 2014-08-18, Rich Freeman <rich0@gentoo.org> wrote:
> On Mon, Aug 18, 2014 at 2:21 PM, J. Roeleveld <joost@antarean.org> wrote:
>>
>> In cases like that I would do either of the following:
>>
>> 1) Run it inside a VM
>> 2) run it inside a chroot
>>
>> That way you can easily keep everything updated except for that
>> application.
>
> Or better still run it inside a container.
Or better still, demand either a less broken app or one that's
statically linked.
--
Grant
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Changing glibc
2014-08-18 21:17 ` [gentoo-user] " Grant Edwards
@ 2014-08-18 22:03 ` Alan McKinnon
2014-08-19 2:37 ` Francisco Ares
0 siblings, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2014-08-18 22:03 UTC (permalink / raw
To: gentoo-user
On 18/08/2014 23:17, Grant Edwards wrote:
> On 2014-08-18, Rich Freeman <rich0@gentoo.org> wrote:
>> On Mon, Aug 18, 2014 at 2:21 PM, J. Roeleveld <joost@antarean.org> wrote:
>>>
>>> In cases like that I would do either of the following:
>>>
>>> 1) Run it inside a VM
>>> 2) run it inside a chroot
>>>
>>> That way you can easily keep everything updated except for that
>>> application.
>>
>> Or better still run it inside a container.
>
> Or better still, demand either a less broken app or one that's
> statically linked.
>
That was my thought too. The app is a visual differ. It's not rocket
science, so what business does it have needing a custom glibc?
My spidey-sense is tingling, I'm wondering what other weirdnesses such
an app might have under the covers
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Changing glibc
2014-08-18 22:03 ` Alan McKinnon
@ 2014-08-19 2:37 ` Francisco Ares
2014-08-19 7:23 ` Timur Aydin
0 siblings, 1 reply; 13+ messages in thread
From: Francisco Ares @ 2014-08-19 2:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]
2014-08-18 19:03 GMT-03:00 Alan McKinnon <alan.mckinnon@gmail.com>:
> On 18/08/2014 23:17, Grant Edwards wrote:
> > On 2014-08-18, Rich Freeman <rich0@gentoo.org> wrote:
> >> On Mon, Aug 18, 2014 at 2:21 PM, J. Roeleveld <joost@antarean.org>
> wrote:
> >>>
> >>> In cases like that I would do either of the following:
> >>>
> >>> 1) Run it inside a VM
> >>> 2) run it inside a chroot
> >>>
> >>> That way you can easily keep everything updated except for that
> >>> application.
> >>
> >> Or better still run it inside a container.
> >
> > Or better still, demand either a less broken app or one that's
> > statically linked.
> >
>
> That was my thought too. The app is a visual differ. It's not rocket
> science, so what business does it have needing a custom glibc?
>
> My spidey-sense is tingling, I'm wondering what other weirdnesses such
> an app might have under the covers
>
>
> --
> Alan McKinnon
> alan.mckinnon@gmail.com
>
>
>
Just m 2 cents: Have you tried kdiff3 ?
Good luck and best regards,
Francisco
[-- Attachment #2: Type: text/html, Size: 1861 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Changing glibc
2014-08-19 2:37 ` Francisco Ares
@ 2014-08-19 7:23 ` Timur Aydin
0 siblings, 0 replies; 13+ messages in thread
From: Timur Aydin @ 2014-08-19 7:23 UTC (permalink / raw
To: gentoo-user
No other diff program comes even close to BC in terms of diff output
quality and merge capability. I am willing to go through much more hoops
than this just to be able to use this under linux.
And also, to avoid any misrepresentation, their support in determining
the cause of the issue was very good.
The problem seems to be that their linux build is using an older gcc
version. This was causing an ABI related crash in the strstr function,
which was using SSE instructions.
So at some point, they will probably switch to a newer compiler and the
problem will go away. But if I mail their support, it would take many
messages until we come to the same page (the previous developer getting
copied on it, he remembers the issue etc etc). It is much faster to just
try it :)
--
Timur
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Changing glibc
2014-08-18 19:56 ` [gentoo-user] " Timur Aydin
@ 2014-08-20 6:58 ` Mick
0 siblings, 0 replies; 13+ messages in thread
From: Mick @ 2014-08-20 6:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 332 bytes --]
On Monday 18 Aug 2014 20:56:53 Timur Aydin wrote:
> Thanks a lot guys for the helpful responses. I will definitely try all
> of them, just for the learning experience, even if one does take care of
> the problem.
>
> Cheers!
Also worth looking into is meld, if you are not running kde on your system.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-08-20 16:26 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18 18:06 [gentoo-user] Changing glibc Timur Aydin
2014-08-18 18:11 ` Manuel McLure
2014-08-18 18:15 ` Kerin Millar
2014-08-18 18:21 ` J. Roeleveld
2014-08-18 19:12 ` Rich Freeman
2014-08-18 20:36 ` J. Roeleveld
2014-08-18 21:17 ` [gentoo-user] " Grant Edwards
2014-08-18 22:03 ` Alan McKinnon
2014-08-19 2:37 ` Francisco Ares
2014-08-19 7:23 ` Timur Aydin
2014-08-18 19:56 ` [gentoo-user] " Timur Aydin
2014-08-20 6:58 ` Mick
2014-08-18 20:38 ` [gentoo-user] " James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox