[aur-general] Gcc-6.3: ldd shows wrong symbols
LoneVVolf
lonewolf at xs4all.nl
Wed Jun 28 10:58:38 UTC 2017
On 28-06-17 02:56, Stefan Husmann wrote:
> Hello,
>
> I have put gcc63 to AUR, merely to have a working gcj implemetation, but
> something is wrong with it. If I compile anything with it, ldd shows
> that the resulting binaries have wrong symbols. For instance,
>
> ldd ~/paketierung/meine_Pakete/fotoxx/pkg/fotoxx/usr/bin/fotoxx |grep -v usr
> linux-vdso.so.1 (0x00007ffcbe5cf000)
> libstdc++.so.6 => /lib/gcc/x86_64-pc-linux-gnu/6.3.1/libstdc++.so.6 (0x00007fd4fb0e7000)
> libgcc_s.so.1 => /lib/gcc/x86_64-pc-linux-gnu/6.3.1/libgcc_s.so.1 (0x00007fd4fabbe000)
> /lib64/ld-linux-x86-64.so.2 (0x00007fd4fe8d6000)
>
> IMHO it should be libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/libstdc++.so.6
>
> What am I doing wrong? I do not know how to fix this.
>
> fotoxx is written in c++, but this happens also for programs compiled
> with gcc or gcj. The pdftk PKGBUILD especially suffers from this, as you
> can see in the AUR comments.
>
> Help is much appreciated.
>
> Best Regards
>
> Stefan
>
Stefan,
for clarity : you did use gcc 6.3.1-6 as starting template ?
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gcc&id=20639b4d161df5e60a23c1a30b0022dcd46880be
If https://aur.archlinux.org/packages/gcc63/ is your package, you are
not building the gcc63-libs subpackage.
Why is that part commented out ?
Lone_Wolf
More information about the aur-general
mailing list