Package Details: gcc48 4.8.5-1

Git Clone URL: (read-only, click to copy)
Package Base: gcc48
Description: The GNU Compiler Collection - C and C++ frontends (4.8.x)
Upstream URL:
Licenses: GPL, custom, LGPL, FDL
Submitter: ftschindler
Maintainer: severach
Last Packager: severach
Votes: 11
Popularity: 0.001876
First Submitted: 2014-05-06 16:14
Last Updated: 2021-09-28 18:52

Latest Comments

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

ftschindler commented on 2015-09-04 09:06

Thank you for investigating! I agree that this is most probably due to debug information contained in the final binaries and I would also agree to follow the main `gcc` package in the choice of compile flags.

andreyv commented on 2015-09-02 16:02

P.S. While researching this I noticed that most parts of GCC seem to be compiled with "-g -O2" instead of CFLAGS from makepkg.conf (-g could partially be the source for these strings).

I suppose this can be fixed by explicitly specifying BOOT_CFLAGS/CFLAGS_FOR_TARGET (see, but I guess it is more a discussion for the main Arch "gcc" package.

andreyv commented on 2015-09-02 15:56

Thanks for the update!

I checked the files and I agree that it is not clear how to fix the warning. Also some of the strings seem to be legitimate.

ftschindler commented on 2015-09-02 12:41

* updated to 4.8.5
* added LD_PRELOAD, please check if this fixes your issue, hzy199411

@andreyv: I do not see how to get rid of this warning. Almost all created binaries (in this package) contain this information. Let me know if you have a fix!

andreyv commented on 2015-09-01 14:09


GCC 4.8.5 is available.

Also, when installing the package, there is this warning from makepkg:

WARNING: Package contains reference to $srcdir

namcap output also seems related.

hzy199411 commented on 2015-06-21 06:29

@ftschindler, I think if you installed llvm, then you can reproduce this problem.

As we know /usr/lib/bfd-plugins/ was dynamic linked with /usr/lib/, and when you build gcc48's c++ library, the Makefile will set LD_LIBRARY_PATH, then /usr/lib/bfd-plugins/ will use gcc48's, so when binutils command like ar,ld use plugins they will coredump because wrong version

so `export LD_PRELOAD=/usr/lib/` or "remove /usr/lib/bfd-plugins/ soft link" will solve this problem.

ftschindler commented on 2015-06-20 15:07

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

@lahwaacz, another simpler workaround is set LD_PRELOAD before you build this package use follow commnd:
export LD_PRELOAD=/usr/lib/

and you can also add this command in PKGBUILD.

lahwaacz commented on 2015-05-27 15:29

@hzy199411: That helped, thanks.

hzy199411 commented on 2015-05-27 14:47

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