Package Details: gcc10-libs 10.5.0-1

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, custom, LGPL, FDL
Provides: libasan.so, libgfortran.so, liblsan.so, libtsan.so, libubsan.so
Submitter: jonathon
Maintainer: severach
Last Packager: severach
Votes: 2
Popularity: 0.000001
First Submitted: 2022-02-28 11:44 (UTC)
Last Updated: 2023-07-15 14:52 (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 Next › Last »

gnaggnoyil commented on 2022-03-10 16:13 (UTC) (edited on 2022-03-10 16:14 (UTC) by gnaggnoyil)

@jonathon We ARE using Archlinux and by saying "it's a Manjaro issue" you were making false assumptions of us without even asking what we were doing.

This package can be built using devtool, but it DOES report compile error when running makepkg directly or using a AUR helper. Thus, it resulted in some misconceptions about what you were meaning that you insists this package "builds just file on Arch".

If you were indeed unable to reproduce the issue and have no interest of investigating what was happening, please at least just reply with "cannot reproduce, won't fix". I don't think it is a proper reply to make misleading conclusion and then further make false assumptions based on that conclusion.

jonathon commented on 2022-03-07 23:30 (UTC)

The package builds just fine on Arch, so given this is currently a Manjaro issue you can post on the Manjaro forum.

If the Manjaro forum will not give you support, and you can't or won't run Arch, then you might look at EndeavourOS or Garuda as derivatives much closer to Arch - where all AUR packages will work as intended.

If you insist on using Manjaro and want support from me then I'm available for hire. Given a sufficient donation I will install Manjaro in a virtual machine and try to replicate the issue. If you are interested then feel free to email me.

ryunuck commented on 2022-03-07 21:08 (UTC) (edited on 2022-03-07 21:15 (UTC) by ryunuck)

Hello! I have the same problem as aelzenaar and gnaggnoyil. I have 32gb of RAM so definitely not the problem, and same result with makepkg.

I cannot post on the forum because I use Manjaro and the rules forbid me from posting there.

✖  make --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

/home/nuck/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c: In function ‘fibheap_replace_key_data’:
/home/nuck/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:38:25: error: ‘LONG_MIN’ undeclared (first use in this function)
   38 | #define FIBHEAPKEY_MIN  LONG_MIN
      |                         ^~~~~~~~
/home/nuck/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:220:30: note: in expansion of macro ‘FIBHEAPKEY_MIN’
  220 |   if (okey == key && okey != FIBHEAPKEY_MIN)
      |                              ^~~~~~~~~~~~~~
/home/nuck/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:36:1: note: ‘LONG_MIN’ is defined in header ‘<limits.h>’; did you forget to ‘#include <limits.h>’?
   35 | #include "fibheap.h"
  +++ |+#include <limits.h>
   36 | 
/home/nuck/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:38:25: note: each undeclared identifier is reported only once for each function it appears in
   38 | #define FIBHEAPKEY_MIN  LONG_MIN
      |                         ^~~~~~~~
/home/nuck/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:220:30: note: in expansion of macro ‘FIBHEAPKEY_MIN’
  220 |   if (okey == key && okey != FIBHEAPKEY_MIN)
      |                              ^~~~~~~~~~~~~~
/home/nuck/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c: In function ‘fibheap_delete_node’:
/home/nuck/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:38:25: error: ‘LONG_MIN’ undeclared (first use in this function)
   38 | #define FIBHEAPKEY_MIN  LONG_MIN
      |                         ^~~~~~~~
/home/nuck/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:261:36: note: in expansion of macro ‘FIBHEAPKEY_MIN’
  261 |   fibheap_replace_key (heap, node, FIBHEAPKEY_MIN);
      |                                    ^~~~~~~~~~~~~~
/home/nuck/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:38:25: note: ‘LONG_MIN’ is defined in header ‘<limits.h>’; did you forget to ‘#include <limits.h>’?
   38 | #define FIBHEAPKEY_MIN  LONG_MIN
      |                         ^~~~~~~~
/home/nuck/.cache/yay/gcc10/src/gcc/libiberty/fibheap.c:261:36: note: in expansion of macro ‘FIBHEAPKEY_MIN’
  261 |   fibheap_replace_key (heap, node, FIBHEAPKEY_MIN);
      |                                    ^~~~~~~~~~~~~~
make[3]: *** [Makefile:758: fibheap.o] Error 1
make[3]: *** Waiting for unfinished jobs....

jonathon commented on 2022-03-07 11:21 (UTC)

aelzenaar, gnaggnoyil: there is no error there so you're probably running out of RAM. Also try with makepkg only (rather than a helper), and if you still can't get it working then open a thread on the forum.

aelzenaar commented on 2022-03-07 03:05 (UTC)

@gnaggnoyil I have the same issue, same error in src/gcc/libiberty/fibheap.c on building.

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.