| Summary: | kdebase-3.2.1 fails to build. Stops building kscreensaver due to unresolvable relocation against symbol 'main' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stephen Torri <storri> |
| Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | solve the build problem with PORTAGE_TMPDIR changed | ||
|
Description
Stephen Torri
2004-03-15 14:25:07 UTC
Hi, That is exactly the same problem that I have .... I am using gcc-3.3.2-r7 / glibc-2.3.2-r9 with -O3 and -march=pentium4 in the CFLAGS ... I tried using gcc-3.2.3-r2 instead -> no success Then I tried gcc-3.3.2-r7 with -O2 instead of -O3 -> no success Seems like it has to do with that Scrt1.o (->glibc) ..... ?!? (I found patches for this in glibc-2.3.3_pre20040207) Maybe I should give the glibc_2.3.3-betas a try ... But as there are almost no bug reports for this "kscreensaver" and kde-3.2.1 ist marked "stable", I am sure it _must_ compile on most other Gentoo's .... strange problem somehow ... :-) Hi again, just FYI: I emerged glibc_2.3.3_pre20040207 / kdelibs-3.2.1 / "whole kde-3.2.1" over night and the kscreensaver-problem was gone .... So with the pre-glibc it seemed to work for me and for now. Don't know if there will be any other issues due to glibc, but I will see. Anyway I will try to re-test with glibc-2.3.2-r9 again as soon as I have some time "left". There must be something wrong somewhere :-( Created attachment 28498 [details, diff]
solve the build problem with PORTAGE_TMPDIR changed
This patch solv the build problem with PORTAGE_TMPDIR changed. The problem is
due to a previously positioned ernno so it can be solve by setting errno to 0
(like advised in fr man) before mkdir call and errno test
(in kdebase-3.2.1/kdm/kfrontend/genkdmconf.c).
Has the patch from Stany Marcel been applied to the kdebase-3.2.1.ebuild file? it's been fixed in the latest portage and kdebase-3.2.2. |