1 |
E. Liddell posted on Mon, 19 Mar 2012 12:26:52 -0400 as excerpted: |
2 |
|
3 |
> The long version: Trinity, the fork of KDE3, is currently in the middle |
4 |
> of converting from the old autotools-based KDE build system to a more |
5 |
> maintainable setup based on cmake. |
6 |
|
7 |
> The best we've managed to be able to do is get the builds to reach the |
8 |
> linker stage, where they break due to missing libraries which we seem to |
9 |
> be unable to reinject—append-libs and various methods of manipulating |
10 |
> LDFLAGS within the ebuilds seem to do nothing. |
11 |
|
12 |
I've no idea if this will help or not, or whether you've tried it or not, |
13 |
but... |
14 |
|
15 |
It occurs to me that kde3 was probably "sunsetted" before gentoo's switch |
16 |
to --as-needed linker flags by default. Now I switched to --as-needed |
17 |
here, long before gentoo switched its default, and /think/ I was running |
18 |
that here for some time before I upgraded to kde4. If I'm correct, then |
19 |
kde3 as it was back then, at least, could run with --as-needed, but I'm |
20 |
not sure if it stayed that way or what patches gentoo might have already |
21 |
been using at the time in ordered to make it work, that might well need |
22 |
updating to /keep/ it working. |
23 |
|
24 |
So, umm... yeah, try disabling the --as-needed linking, thus triggering |
25 |
overlinking in many cases, but possibly helping here, and see if it helps. |
26 |
|
27 |
But I'm not the autotools guru you're looking for. Sorry. This kinda |
28 |
sorta sounds like it might help, but maybe not, too. Maybe it's a |
29 |
combination of this so it doesn't ignore your appended libs, tho, and |
30 |
actually appending the libs? That's what I thought of first when reading |
31 |
your description, but I'd guess you've already tried it, too. Still, |
32 |
it's worth the suggestion, just in case... |
33 |
|
34 |
-- |
35 |
Duncan - List replies preferred. No HTML msgs. |
36 |
"Every nonfree program has a lord, a master -- |
37 |
and if you use the program, he is your master." Richard Stallman |