Package Details: gcc48 4.8.5-1

Git Clone URL: https://aur.archlinux.org/gcc48.git (read-only, click to copy)
Package Base: gcc48
Description: The GNU Compiler Collection - C and C++ frontends (4.8.x)
Upstream URL: http://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Submitter: ftschindler
Maintainer: severach
Last Packager: severach
Votes: 12
Popularity: 0.000119
First Submitted: 2014-05-06 16:14 (UTC)
Last Updated: 2021-09-28 18:52 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

hzy199411 commented on 2015-06-21 06:29 (UTC)

@ftschindler, I think if you installed llvm, then you can reproduce this problem. As we know /usr/lib/bfd-plugins/LLVMgold.so was dynamic linked with /usr/lib/libstdc++.so.6, and when you build gcc48's c++ library, the Makefile will set LD_LIBRARY_PATH, then /usr/lib/bfd-plugins/LLVMgold.so will use gcc48's libstdc++.so.6, so when binutils command like ar,ld use LLVMgold.so plugins they will coredump because wrong version libstdc++.so.6. so `export LD_PRELOAD=/usr/lib/libstdc++.so.6` or "remove /usr/lib/bfd-plugins/LLVMgold.so soft link" will solve this problem.

ftschindler commented on 2015-06-20 15:07 (UTC)

I cannot reproduce the problem with gcc 5.1.0 on Manjaro Linux. I will try with a clean Arch install, but this might take some time...

hzy199411 commented on 2015-05-29 02:41 (UTC)

@lahwaacz, another simpler workaround is set LD_PRELOAD before you build this package use follow commnd: export LD_PRELOAD=/usr/lib/libstdc++.so.6 and you can also add this command in PKGBUILD.

lahwaacz commented on 2015-05-27 15:29 (UTC)

@hzy199411: That helped, thanks.

hzy199411 commented on 2015-05-27 14:47 (UTC)

@lahwaacz,you can remove the soft link /usr/lib/bfd-plugins/LLVMgold.so when build this package, and if you want use LLVMgold.so plugin, you can add the soft link by yourself use such command: cd /usr/lib/bfd-plugins/ sudo ln -s ../LLVMgold.so

lahwaacz commented on 2015-05-27 13:07 (UTC)

Does the package still build with GCC 5.1? I'm getting some errors, the relevant snippet is below: ... ar: /home/lahwaacz/build/aur/gcc48/src/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/bin/../bin/../lib/bfd-plugins/LLVMgold.so) ../libtool: line 1132: 4748 Segmentation fault (core dumped) ar rc .libs/libstdc++.a <many object files> Makefile:545: recipe for target 'libstdc++.la' failed make[6]: *** [libstdc++.la] Error 139 make[6]: Leaving directory '/home/lahwaacz/build/aur/gcc48/src/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/src' ...

ftschindler commented on 2015-01-15 13:57 (UTC)

Updated to 4.8.4-1: * fixed https://github.com/ftalbrecht/aur/issues/8 (drop gcc-ada dependency) thanks to doragasu * fixed https://github.com/ftalbrecht/aur/issues/7 (update to 4.8.4) thanks to anarch.linux

anarch.linux commented on 2015-01-10 16:11 (UTC)

4.8.4 was released dec 19, 2014. gcc-4.8-lambda-ICE.patch is not needed anymore.

doragasu commented on 2015-01-07 10:56 (UTC)

I wasn't able to build the PKGBUILD on the ARM machine, but it looks like it is because of a gcc bug on this arch. I was able to build it though on both i386 and x64 architectures removing both gcc-ada and doxygen dependencies. For the last one to work, you have also to edit the PKGBUILD and remove the make documentation lines: # make documentation make -C $CHOST/libstdc++-v3/doc doc-man-doxygen

ftschindler commented on 2015-01-06 20:35 (UTC)

Sorry for the late reply. The dependency is there bc. I just adapted the gcc46 PKGBUILD. So I can not tell you if or for what it is needed. Perhaps you can report your findings, e.g. if you were able to successfully build the package without gcc-ada?