You are not logged in.
Hi!
My current problem is, that I can't compile KDE with hidden visibility with the current GCC (4.2).
I get error messages about 64Bit relocation:
relocation R_X86_64_PC32 against ...
On the GCC bugtrackers the maintainers don't know if they threat it as a bug or not.
So I wanted to downgrade GCC. Problem here: Old packages are not in the repository.
(Suggestion: Provide at least 2 versions of integral packages like gcc and kernel in the repos please)
So I tried to use an old PKGBUILD of GCC 4.1 from the cvs, but I have to say I am totally ignorant of cvs, I only know svn.
Can someone provide me a commandline to check an older version out?
(Suggestion2: Integrate that into the "abs" command please)
I would need the version from 2007/05/06 08:03:23 and I tried to do it with the cvs documentation but I am stuck.
Sorry that I have to ask but I am very enerved by that error and it seems I can't find the solution in appropriate time.
Perhaps someone may be so kind and help me out
Thanks.
Offline
You can upgrade binutils to 2.17.50, this should fix your compilation problem. Here's a package you can just download and run with pacman -U. Otherwise you can get the pkgbuild and modify it. (Note: you dont need to downgrade gcc for this). I think a push is being made to bump the official version to this. Beware, that this is a development snapshot (and while nothing has broken for me yet), anything is possible.
http://nagi-fanboi.net/arch/binutils-2. … pkg.tar.gz
Last edited by tardo (2007-06-19 22:40:30)
Offline
Offline
Thanks you two
I didn't know of phraktured's mirror, thanks for that pointer.
But I tried tardo's solution and it worked. So it is finally "defined" as a bug? Or are they uncertain as of some days ago?
Offline
It's a bug in gcc, supposedly they are going to fix it in their next release. And this bug has been around for at least a month to my knowledge... whenever gcc 4.2 first came.
Offline
How can such a critical bug slip into such a critical release
Whatever... waiting for the update
Offline
Do NOT downgrade gcc 4.2 to 4.1 or earlier, it will break your system!
Offline
Why is that? It didn't break my system as gcc 4.2 was in testing and i downgraded then. (But now I used the binutils provided above, so no downgrading here.)
Was there an ABI change?
Offline
i think gcc 4.2 and glibc2.6 go hand in hand... most programs may have been recompiled for either or both hence the probability of breakage
Offline
we will soon have a new set of binutils 2.17.50.0.17 and a fresh stable gcc snapshot in testing. it will fix most issues.
Offline