Package Details: gcc10-libs 10.5.0-2

Git Clone URL: https://aur.archlinux.org/gcc10.git (read-only, click to copy)
Package Base: gcc10
Description: Runtime libraries shipped by GCC (10.x.x)
Upstream URL: https://gcc.gnu.org
Keywords: gcc
Licenses: GPL-3.0-or-later, LGPL-3.0+, LicenseRef-custom, GFDL-1.3
Provides: libasan.so, libgfortran.so, liblsan.so, libtsan.so, libubsan.so
Submitter: jonathon
Maintainer: severach
Last Packager: severach
Votes: 3
Popularity: 0.037017
First Submitted: 2022-02-28 11:44 (UTC)
Last Updated: 2024-05-31 14:41 (UTC)

Pinned Comments

jonathon commented on 2022-03-10 23:36 (UTC)

Please read the AUR wiki page before reporting issues.

If you are experiencing a build issue then ensure you are not using an AUR helper and are using a clean chroot.

Latest Comments

« First ‹ Previous 1 2 3 4

micwoj92 commented on 2022-03-04 19:58 (UTC)

Why didn't you base this on old gcc10 package from repos? people that still have it installed won't get updates from AUR because it had epoch 1 (and other small minor changes in PKGBUILD too)

gnaggnoyil commented on 2022-03-03 16:09 (UTC)

I ran makepkg and encountered the following error as of today:

if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -D_FORTIFY_SOURCE=2 -I. -I/home/gnaggnoyil/.cache/yay/gcc10/src/gcc/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic  -D_GNU_SOURCE -fcf-protection -fpic /home/gnaggnoyil/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from /home/gnaggnoyil/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:29:
/usr/include/features.h:412:4: 警告:#warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
/home/gnaggnoyil/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c: 在函数‘fibheap_replace_key_data’中:
/home/gnaggnoyil/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:38:25: 错误:‘LONG_MIN’未声明(在此函数内第一次使用)
   38 | #define FIBHEAPKEY_MIN  LONG_MIN
      |                         ^~~~~~~~
/home/gnaggnoyil/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:220:30: 附注:in expansion of macro ‘FIBHEAPKEY_MIN’
  220 |   if (okey == key && okey != FIBHEAPKEY_MIN)
      |                              ^~~~~~~~~~~~~~
/home/gnaggnoyil/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:36:1: 附注:‘LONG_MIN’ is defined in header ‘<limits.h>’; did you forget to ‘#include <limits.h>’?
   35 | #include "fibheap.h"
  +++ |+#include <limits.h>
   36 |

Is there anyone that meets the same problem?

jonathon commented on 2022-03-02 11:01 (UTC) (edited on 2022-03-02 11:03 (UTC) by jonathon)

The debug option creates a debug package that contains debugging symbols; it was included because it might be useful for people doing development, but apparently it's too confusing so it is now removed from this PKGBUILD as a default. If people want a debug package then they can add the option to the PKGBUILD themselves.

onurbbr commented on 2022-03-02 04:36 (UTC) (edited on 2022-03-02 04:37 (UTC) by onurbbr)

If I didn't want to install the package, I wouldn't be commenting here anyway. Secondly, I need the gcc10 package. I had previously installed gcc9. I had no problem with gcc9. When I see an error, I will of course report it. Normally, there are no debug packages in archlinux at the moment. At least you don't necessarily have to download it. In the gcc10 package, there is no code for the package named gcc10-debug in the PKGBUILD file, but the gcc10-debug package is also installed.

By the way, thanks for developing this package.

jonathon commented on 2022-03-01 16:05 (UTC) (edited on 2022-03-01 16:07 (UTC) by jonathon)

Generally speaking, if you don't want a package then don't install it. But, I'll check whether debug is necessary for AUR PKGBUILDs.

Looks like the $HOME directory permissions change is a side-effect of how debug packages are built, and that's going to catch people out too. Hm. Let's remove debug as the default.

Edit: I've done that, no pkgrel bump as no rebuild needed, just don't install the package if you don't want it.

onurbbr commented on 2022-03-01 15:37 (UTC)

The gcc10-debug package is not included in PKGBUILD, but is installed after compiling.

The permissions of the home folder are also changed.

loading packages... resolving dependencies... looking for conflicting packages...

Packages (4) gcc10-10.3.0-2 gcc10-debug-10.3.0-2 gcc10-fortran-10.3.0-2 gcc10-libs-10.3.0-2

Total Installed Size: 1352.75 MiB Net Upgrade Size: 1138.23 MiB

:: Proceed with installation? [Y/n] (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% (4/4) checking available disk space [--------------------------------------------------------------------] 100% :: Processing package changes... (1/4) upgrading gcc10-libs [--------------------------------------------------------------------] 100% (2/4) upgrading gcc10 [--------------------------------------------------------------------] 100% (3/4) installing gcc10-debug [--------------------------------------------------------------------] 100% warning: directory permissions differ on /home/onur/ filesystem: 700 package: 755 (4/4) upgrading gcc10-fortran [--------------------------------------------------------------------] 100% :: Running post-transaction hooks... (1/3) Arming ConditionNeedsUpdate... (2/3) Removing obsolete cached package files (keeping the latest two)... ==> no candidate packages found for pruning (3/3) Updating mlocate database

onurbbr commented on 2022-03-01 12:56 (UTC)

1- gcc10-fortran and gcc-fortran conflict. 2- A package called gcc10-debug is also installed. It doesn't show up in the AUR search menu either.

[sudo] password for onur:
loading packages... resolving dependencies... looking for conflicting packages...

Packages (4) gcc10-10.3.0-1 gcc10-debug-10.3.0-1 gcc10-fortran-10.3.0-1 gcc10-libs-10.3.0-1

Total Installed Size: 1352.97 MiB

:: Proceed with installation? [Y/n] (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) gcc10-fortran: /usr/share/info/gfortran.info.gz exists in filesystem (owned by gcc-fortran) Errors occurred, no packages were upgraded. -> exit status 1