Package Details: gcc46 4.6.4-4

Git Clone URL: https://aur.archlinux.org/gcc46.git (read-only, click to copy)
Package Base: gcc46
Description: The GNU Compiler Collection (4.6.x)
Upstream URL: http://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Conflicts: gcc46-multilib
Provides: gcc-46
Submitter: anpu
Maintainer: severach
Last Packager: severach
Votes: 15
Popularity: 0.000000
First Submitted: 2012-04-23 22:27 (UTC)
Last Updated: 2022-09-25 03:55 (UTC)

Latest Comments

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

Sky commented on 2012-09-12 12:35 (UTC)

Thank you :)

anpu commented on 2012-09-12 12:33 (UTC)

@Sky, Added requested changes. Please note that the package number has not been bumped deliberately.

Sky commented on 2012-09-12 11:54 (UTC)

@cornholio, the PKGBUILD should contain: mv "$pkgdir"/usr/lib/gcc/$CHOST/lib* "$pkgdir/usr/lib/gcc/$CHOST/$pkgver/" in the package() section. @anpu, could you update it please ?

fishburn commented on 2012-08-24 17:20 (UTC)

This package puts libgcc_s.so and libgcc_s.so.1 in the version non-specific folder: /usr/lib/gcc/x86_64-unknown-linux-gnu/lib/ gcc43 does this also, so they conflict with each other. Any recommendations about where to move it to? Would /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/ be OK?

dcelasun commented on 2012-08-23 15:33 (UTC)

This fails for me during package(). Any ideas? ==> Starting package()... CONFIG_SHELL="/bin/sh" /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh /home/dcelasun/builds/gcc46/src/gcc-4.6.3/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --enable-clocale=gnu --enable-gnu-unique-object --with-ppl --enable-lto --enable-plugin --enable-gold --with-plugin-ld=ld.gold --disable-multilib --disable-libstdcxx-pch --disable-libunwind-exceptions --enable-linker-build-id --enable-cloog-backend=isl --enable-ld=default --enable-checking=release --disable-werror --program-suffix=-4.6 --enable-version-specific-runtime-libs CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 --enable-languages=c,c++,fortran,lto --no-create --no-recursion checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking for gawk... gawk checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gnatbind... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for objdir... .libs checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of mpc.h... yes checking for the correct version of the gmp/mpfr/mpc libraries... yes checking for PWL_handle_timeout in -lpwl... no checking for version 0.11 (revision 0 or later) of PPL... no *** This configuration is not supported in the following subdirectories: zlib (Any other directories should still work fine.) checking for default BUILD_CONFIG... bootstrap-debug checking for bison... bison -y checking for bison... bison checking for gm4... no checking for gnum4... no checking for m4... m4 checking for flex... flex checking for flex... flex checking for makeinfo... makeinfo checking for expect... no checking for runtest... no checking for ar... ar checking for as... as checking for dlltool... no checking for ld... ld checking for lipo... no checking for nm... nm checking for ranlib... ranlib checking for strip... strip checking for windres... no checking for windmc... no checking for objcopy... objcopy checking for objdump... objdump checking for cc... cc checking for c++... c++ checking for gcc... gcc checking for gcj... no checking for gfortran... no checking for gccgo... no checking for ar... no checking for ar... ar checking for as... no checking for as... as checking for dlltool... no checking for dlltool... no checking for ld... no checking for ld... ld checking for lipo... no checking for lipo... no checking for nm... no checking for nm... nm checking for objdump... no checking for objdump... objdump checking for ranlib... no checking for ranlib... ranlib checking for strip... no checking for strip... strip checking for windres... no checking for windres... no checking for windmc... no checking for windmc... no checking where to find the target ar... host tool checking where to find the target as... host tool checking where to find the target cc... just compiled checking where to find the target c++... just compiled checking where to find the target c++ for libstdc++... just compiled checking where to find the target dlltool... host tool checking where to find the target gcc... just compiled checking where to find the target gcj... host tool checking where to find the target gfortran... just compiled checking where to find the target gccgo... host tool checking where to find the target ld... host tool checking where to find the target lipo... host tool checking where to find the target nm... host tool checking where to find the target objdump... host tool checking where to find the target ranlib... host tool checking where to find the target strip... host tool checking where to find the target windres... host tool checking where to find the target windmc... host tool checking whether to enable maintainer-specific portions of Makefiles... no checking whether -fkeep-inline-functions is supported... yes configure: creating ./config.status CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status config.status: creating Makefile make[1]: Entering directory `/home/dcelasun/builds/gcc46/src/gcc-build' /bin/sh /home/dcelasun/builds/gcc46/src/gcc-4.6.3/mkinstalldirs /home/dcelasun/builds/gcc46/pkg/usr /home/dcelasun/builds/gcc46/pkg/usr mkdir -p -- /home/dcelasun/builds/gcc46/pkg/usr /home/dcelasun/builds/gcc46/pkg/usr /bin/sh: line 3: cd: ./fixincludes: No such file or directory make[1]: *** [install-fixincludes] Error 1 make[1]: Leaving directory `/home/dcelasun/builds/gcc46/src/gcc-build' make: *** [install] Error 2 ==> ERROR: A failure occurred in package(). Aborting...

dcelasun commented on 2012-08-23 14:49 (UTC)

@Peace4all: Thanks for the patch! Folks, here is the working PKGBUILD with this patch included: http://ompldr.org/vZjdtMg/gcc46-4.6.3-2.src.tar.gz

Peace4all commented on 2012-07-10 15:50 (UTC)

@ anpu I compile a local GCC 4.6.3 multilib version, and I encountered the same problem as jose1711, its due to the upgrade to glibc 2.16. I created a small patch which I use for my local build, I posted it on pastebin here: http://pastebin.com/VkgE27Pd. Feel free to use it anyway you like, if its helpful.

anpu commented on 2012-07-10 07:51 (UTC)

Have you run the compilation of gcc46 in a directory where you have compiled it previously? http://gcc.gnu.org/install/configure.html says If you have previously built GCC in the same directory for a different target machine, do `make distclean' to delete all files that might be invalid. One of the files this deletes is Makefile; if `make distclean' complains that Makefile does not exist or issues a message like “don't know how to make distclean” it probably means that the directory is already suitably clean. However, with the recommended method of building in a separate objdir, you should simply use a different objdir for each target. It worked flawlessly on my computer with a clean compile.

jose1711 commented on 2012-07-09 21:03 (UTC)

cannot compile: In file included from /home/jose/tarballs/gcc46/src/gcc-4.6.3/libgcc/../gcc/unwind-dw2.c:333:0: /home/jose/tarballs/gcc46/src/gcc-4.6.3/libgcc/../gcc/config/i386/linux-unwind.h: In function ‘x86_fallback_frame_state’: /home/jose/tarballs/gcc46/src/gcc-4.6.3/libgcc/../gcc/config/i386/linux-unwind.h:138:17: error: field ‘info’ has incomplete type make[3]: *** [unwind-dw2.o] Error 1

anpu commented on 2012-05-08 20:41 (UTC)

Added.