Bug 113045 - fail to build kde 3.5 beta-1 for arch x86_64
Summary: fail to build kde 3.5 beta-1 for arch x86_64
Status: RESOLVED DUPLICATE of bug 113134
Alias: None
Product: konstruct
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Binner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-22 09:44 UTC by cedric
Modified: 2005-09-24 06:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cedric 2005-09-22 09:44:23 UTC
Version:           unstable (using KDE KDE 3.4.2)
Installed from:    Debian testing/unstable Packages
Compiler:          version gcc 4.0.2 20050917 (prerelease) (Debian 4.0.1-8) 
OS:                Linux

kde 3.5 beta-1 fail to build with the target meta/everything.
I doesn't try thr others yet, but it fail in kdebase, so I thing others targets fail to.

here the error :

make[4]: entrant dans le répertoire « /home/moi/Sources/konstruct/kde/kdebase/work/kdebase-3.4.91/kcheckpass »
/bin/sh ../libtool --silent --tag=CC --mode=link cc  -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2  -I/home/moi/kde3.5-beta1/include -I/usr/X11R6/include -L/home/moi/kde3.5-beta1/lib -L/usr/X11R6/lib -O2 -pipe -I/home/moi/kde3.5-beta1/include -I/usr/X11R6/include -L/home/moi/kde3.5-beta1/lib -L/usr/X11R6/lib -O2 -pipe -Wformat-security -Wmissing-format-attribute -D_GNU_SOURCE  -L/home/moi/kde3.5-beta1/lib -L/usr/X11R6/lib -L/home/moi/kde3.5-beta1/lib -L/usr/X11R6/lib -o kcheckpass -pie -L/home/moi/kde3.5-beta1/lib -L/usr/X11R6/lib    kcheckpass.o checkpass_etcpasswd.o checkpass_pam.o checkpass_shadow.o checkpass_osfc2passwd.o checkpass_aix.o  -lkdefakes -lcrypt
/usr/bin/ld: kcheckpass.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
kcheckpass.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [kcheckpass] Erreur 1
Comment 1 Thiago Macieira 2005-09-22 13:01:05 UTC
Compiler bug. Please upgrade your gcc.
Comment 2 Thiago Macieira 2005-09-23 13:13:11 UTC
*** Bug 113134 has been marked as a duplicate of this bug. ***
Comment 3 mathpup 2005-09-24 00:12:42 UTC
I experienced this problem with gcc version 3.3.5 20050117 (prerelease) (SUSE Linux), and someone else reported with it gcc 4.0.2. So I do not think that upgrading gcc is the solution.

Also, this bug does not occur with kdebase from approximately a week ago. It first appeared for me yesterday. I did go back and try kdelibs and kdebase from a week ago, and they compiled fine.
Comment 4 Thiago Macieira 2005-09-24 03:36:02 UTC
I'm sorry, but there is a compiler bug there. If the latest gcc doesn't fix it, you'll have to wait for them to fix it.

However, if we can find a workaround, I'm listening. Can you be more specific about what changes break compilation? It would help to know the SVN revision numbers and the dir inside kdebase. (whole kdebase isn't an option)
Comment 5 mathpup 2005-09-24 05:47:16 UTC
Yes, I can be very specific. Adding -lXau to kdebase/kdmlib breaks the compile 
on Suse. Someone added -lXau 3 days ago. Things compile fine without -lXau!



On Friday 23 September 2005 8:36 pm, Thiago Macieira wrote:
[bugs.kde.org quoted mail]
Comment 6 Thiago Macieira 2005-09-24 06:02:12 UTC
Then it is a duplicate. Reopening to mark as duplicate.
Comment 7 Thiago Macieira 2005-09-24 06:02:29 UTC

*** This bug has been marked as a duplicate of 113134 ***