Package Details: gcc47 4.7.4-2

Git Clone URL: https://aur.archlinux.org/gcc47.git (read-only)
Package Base: gcc47
Description: The GNU Compiler Collection (4.7.x)
Upstream URL: http://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Groups: base-devel
Submitter: mosra
Maintainer: vtyulb
Last Packager: vtyulb
Votes: 21
Popularity: 0.003193
First Submitted: 2013-06-06 16:22
Last Updated: 2016-10-30 13:52

Latest Comments

vtyulb commented on 2016-11-01 15:46

joaocandre, can you send me logs to <vtyulb@vtyulb.ru> ?

joaocandre commented on 2016-11-01 15:38

I get a lot of undefined references when linking, can't install.

FMorel commented on 2016-10-31 14:03

For me, the package compiles and installs fine with no bug or special edit of PKGBUILD.

After installation, the gcc4.7 works well with Matlab/Simulink in accelerator mode just by following instructions on the Archlinux's wiki page about Matlab. I had to change folders in Simulink preferences in order to have the same folder (/tmp for me) for both "Simulation cache folder" and "code generation folder".

Tanks to the maintainer !

vtyulb commented on 2016-10-30 14:37

Fixed errors. You can build it now, or download fresh version from me (not recommended and not safe):
https://ftp.vtyulb.ru/gcc47-4.7.4-2-x86_64.pkg.tar.xz

vtyulb commented on 2016-10-29 19:52

I'm trying to fix it now. I compiled latest version 24th of July, can give you that packet if you want.

FMorel commented on 2016-10-29 17:46

I followed the instructions of stonyboy but the compilation failed on my computer. It's a pity because this package would be still useful for Matlab users (gcc47 is an optional dependence even for recent versions).

stonyboy commented on 2016-08-18 13:12

This worked for me:

1) Adding export LD_PRELOAD=/usr/lib/libstdc++.so.6 to PKGBUILD as described by 12qu
2) Installing ppl 1.1-2 (no other dependencies on my machine) as described by antony
3) rm -rf src (not doing this caused a bit of headache)
4) Building and installing the package

Thanks to 12qu and antony!


anntzer commented on 2016-07-24 16:35

Thanks. So far I have a workaround by pinning ppl (only used by gcc47 here) to its previous version, I may investigate more another time...

anntzer commented on 2016-07-24 02:51

Currently fails to build, perhaps due to the recent version bump of ppl?

<elided>
/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../lib/libppl_c.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../lib/libppl_c.so: undefined reference to `std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../lib/libppl_c.so: undefined reference to `VTT for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../lib/libppl.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../lib/libppl_c.so: undefined reference to `operator delete(void*, unsigned long)@CXXABI_1.3.9'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../lib/libgmpxx.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../lib/libppl_c.so: undefined reference to `std::invalid_argument::invalid_argument(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../lib/libppl.so: undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1841: cc1] Error 1
make[2]: Leaving directory '/home/antony/tmp/gcc47/src/gcc-build/gcc'
make[1]: *** [Makefile:4332: install-gcc] Error 2
make[1]: Leaving directory '/home/antony/tmp/gcc47/src/gcc-build'
make: *** [Makefile:2126: install] Error 2
==> ERROR: A failure occurred in package().
Aborting...

vtyulb commented on 2016-03-03 19:34

12qu,
just build gcc47.
Got same error that you wrote,
but it's not fatal, package created and works.
(I think it's yaourt vs native makepkg)

Anyway, I added your magic line, so
no errors now (except $srcdir warning)

If anybody wants to be a maintainer,
please feel free to ask.

All comments