@tallero thanks for your share.
But I have to add --disable-multilib
to end of line: https://gitlab.archlinux.org/tallero/gcc7-aur/-/blob/master/PKGBUILD?ref_type=heads#L159
If not will get an error say no 32bit libs, even you have add --disable-multilib
in _configure_options
. Don't know why.
Add finally get below error:
/usr/bin/install -c -m 644 b-header-vars /home/xq/.cache/yay/gcc7/pkg/gcc7/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.5.0/plugin/include/b-header-vars
/usr/bin/install -c lto-wrapper /home/xq/.cache/yay/gcc7/pkg/gcc7/usr/local/libexec/gcc/x86_64-pc-linux-gnu/7.5.0/lto-wrapper
make: Leaving directory '/home/xq/.cache/yay/gcc7/src/gcc-build/gcc'
install: failed to access '/home/xq/.cache/yay/gcc7/pkg/gcc7/usr/lib/gcc/x86_64-pc-linux-gnu/7.5.0/': No such file or directory
==> ERROR: A failure occurred in package_gcc7().
Aborting...
==> Removing installed dependencies...
Pinned Comments