Package Details: gcc6-fortran 6.4.1-8

Git Clone URL: https://aur.archlinux.org/gcc6.git (read-only)
Package Base: gcc6
Description: Fortran front-end for GCC
Upstream URL: https://gcc.gnu.org/gcc-6/
Licenses: GPL, custom, LGPL, FDL
Submitter: Svenstaro
Maintainer: lonaowna
Last Packager: lonaowna
Votes: 9
Popularity: 1.995661
First Submitted: 2018-05-17 20:56
Last Updated: 2018-08-09 09:28

Latest Comments

1 2 3 Next › Last »

sokuban commented on 2018-08-30 08:43

I could build fine (I needed at least 8GiB though), but I can't install the resulting packages. I looked at the conflicting files, and most of them seem to be the same size, but the size of the two libstdc++.a are different.

Any advice?

[code]$ sudo pacman -U gcc6-6.4.1-8-x86_64.pkg.tar.xz gcc6-fortran-6.4.1-8-x86_64.pkg.tar.xz gcc6-gcj-6.4.1-8-x86_64.pkg.tar.xz gcc6-libs-6.4.1-8-x86_64.pkg.tar.xz loading packages... resolving dependencies... looking for conflicting packages...

Packages (4) gcc6-6.4.1-8 gcc6-fortran-6.4.1-8 gcc6-gcj-6.4.1-8 gcc6-libs-6.4.1-8

Total Installed Size: 453.89 MiB Net Upgrade Size: 133.96 MiB

:: Proceed with installation? [Y/n] y (4/4) checking keys in keyring [######################] 100% (4/4) checking package integrity [######################] 100% (4/4) loading package files [######################] 100% (4/4) checking for file conflicts [######################] 100% error: failed to commit transaction (conflicting files) /usr/lib/gcc/x86_64-unknown-linux-gnu/6.4.1/libstdc++.a exists in both 'gcc6-libs' and 'gcc6' /usr/lib/gcc/x86_64-unknown-linux-gnu/6.4.1/libstdc++.la exists in both 'gcc6-libs' and 'gcc6' /usr/lib/gcc/x86_64-unknown-linux-gnu/6.4.1/libgcj-tools.la exists in both 'gcc6-libs' and 'gcc6-gcj' /usr/lib/gcc/x86_64-unknown-linux-gnu/6.4.1/libgcj.la exists in both 'gcc6-libs' and 'gcc6-gcj' /usr/lib/gcc/x86_64-unknown-linux-gnu/6.4.1/libgij.la exists in both 'gcc6-libs' and 'gcc6-gcj' Errors occurred, no packages were upgraded.[/code]

wjmelements commented on 2018-08-30 08:38

Unfortunately (or fortunately) I can no longer reproduce the build failure.

raul commented on 2018-08-28 17:28

just built it, 7.6G required disk space (ext4) in total

lonaowna commented on 2018-08-28 07:52

@wjmelements can you post your entire build log?

wjmelements commented on 2018-08-27 23:44

When I try to build, I always get a link-time error when linking cc1. Unfortunately there isn't a descriptive error message.

g++ -std=gnu++98 -no-pie .  -g -DIN_GCC .   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing ..........  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o .................... -lisl -lmpc -lmpfr -lgmp -rdynamic -ldl -lz
collect2: error: ld returned 1 exit status

I am also seeing warnings about not compiling with optimization

# . warning _FORTIFY_SOURCE requires compiling with optimization (-O)

When I built without yaourt, I don't get the optimization warnings but it got into an infinite loop that lasted until my disk filled up several hours later.

EndruK commented on 2018-08-09 10:28

With application of the patch from here I was also able to compile it.

Best regards, EndruK

lonaowna commented on 2018-08-09 09:23

@EndruK @TheEbolaDoc the glibc 2.28 build issues should be fixed in 6.4.1-8. Let me know if you still experience problems.

lonaowna commented on 2018-08-09 07:19

@EndruK: you are right. <sys/ustat.h> was removed in glibc 2.28. I'm looking for a fix.

@TheEbolaDoc: you are experiencing the same issue.

EndruK commented on 2018-08-08 18:35

The build fails for me:

/home/andre/.cache/pikaur/build/gcc6/src/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:153:23: fatal error: sys/ustat.h: No such file or directory
 #include <sys/ustat.h>
                       ^
compilation terminated.
make[4]: *** [Makefile:477: sanitizer_platform_limits_posix.lo] Error 1
make[4]: Leaving directory '/home/andre/.cache/pikaur/build/gcc6/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer/sanitizer_common'
make[3]: *** [Makefile:466: all-recursive] Error 1
make[3]: Leaving directory '/home/andre/.cache/pikaur/build/gcc6/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer'
make[2]: *** [Makefile:336: all] Error 2
make[2]: Leaving directory '/home/andre/.cache/pikaur/build/gcc6/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer'
make[1]: *** [Makefile:14292: all-target-libsanitizer] Error 2
make[1]: Leaving directory '/home/andre/.cache/pikaur/build/gcc6/src/gcc-build'
make: *** [Makefile:917: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I cannot find ustat.h in my filesystem. Does this come with another dependency?

TheEbolaDoc commented on 2018-08-08 17:22

Hey guys! The build fails for me (due to unknown reasons):

libtool: link: ranlib .libs/libquadmath.a
libtool: link: ( cd ".libs" && rm -f "libquadmath.la" && ln -s "../libquadmath.la" "libquadmath.la" )
make[3]: Leaving directory '/home/chris/.cache/yay/gcc6/src/gcc-build/x86_64-pc-linux-gnu/libquadmath'
make[2]: Leaving directory '/home/chris/.cache/yay/gcc6/src/gcc-build/x86_64-pc-linux-gnu/libquadmath'
make[1]: Leaving directory '/home/chris/.cache/yay/gcc6/src/gcc-build'
make: *** [Makefile:917: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: gcc6-libs