Package Details: sh-elf-binutils-casio 2.37-6

Git Clone URL: https://aur.archlinux.org/sh-elf-binutils-casio.git (read-only, click to copy)
Package Base: sh-elf-binutils-casio
Description: GNU binary utilities for the Casio calculators SuperH processors.
Upstream URL: https://www.gnu.org/software/binutils/
Licenses: GPL
Submitter: Eldeberen
Maintainer: None
Last Packager: Eldeberen
Votes: 1
Popularity: 0.000000
First Submitted: 2020-05-07 22:30 (UTC)
Last Updated: 2021-11-06 20:59 (UTC)

Latest Comments

Eldeberen commented on 2021-07-15 07:07 (UTC)

Yes, the chroot is up-to-date. I suppose you have the line CPPFLAGS="-D_FORTIFY_SOURCE=2" in your makepkg.conf, which is not the case in a clean chroot. I pushed a patch that disable it at build, should be better now. :)

parkerlreed commented on 2021-07-14 23:03 (UTC)

Is the chroot up to date? I had to use a patch to get it compiled. I don't see how it would have worked on clean without it.

https://github.com/Manawyrm/fxIP/issues/3#issuecomment-879957723

Eldeberen commented on 2021-07-14 22:40 (UTC) (edited on 2021-07-14 23:02 (UTC) by Eldeberen)

Hi, thank you for your report. Did you install the base-devel group? I just built the package in a clean chroot and everything went fine. It seems there are some broken dependencies on your side.

If you were talking about sh-elf-gcc-casio, there was indeed a bug in the PKGBUILD. I may have build the package before releasing the breaking change, my bad >_> I pushed a fix, should be ok now.

parkerlreed commented on 2021-07-14 03:22 (UTC)

Errors out

checking if gcc static flag -static works... gcc -c -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic  -D_GNU_SOURCE -fcf-protection ../../libiberty/fibheap.c -o fibheap.o
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
../../libiberty/fibheap.c: In function ‘fibheap_replace_key_data’:
../../libiberty/fibheap.c:38:25: error: ‘LONG_MIN’ undeclared (first use in this function)
   38 | #define FIBHEAPKEY_MIN  LONG_MIN
      |                         ^~~~~~~~
../../libiberty/fibheap.c:220:30: note: in expansion of macro ‘FIBHEAPKEY_MIN’
  220 |   if (okey == key && okey != FIBHEAPKEY_MIN)
      |                              ^~~~~~~~~~~~~~
../../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 | 
../../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
      |                         ^~~~~~~~
../../libiberty/fibheap.c:220:30: note: in expansion of macro ‘FIBHEAPKEY_MIN’
  220 |   if (okey == key && okey != FIBHEAPKEY_MIN)
      |                              ^~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function ‘fibheap_delete_node’:
../../libiberty/fibheap.c:38:25: error: ‘LONG_MIN’ undeclared (first use in this function)
   38 | #define FIBHEAPKEY_MIN  LONG_MIN
      |                         ^~~~~~~~
../../libiberty/fibheap.c:261:36: note: in expansion of macro ‘FIBHEAPKEY_MIN’
  261 |   fibheap_replace_key (heap, node, FIBHEAPKEY_MIN);
      |                                    ^~~~~~~~~~~~~~
../../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
      |                         ^~~~~~~~
../../libiberty/fibheap.c:261:36: note: in expansion of macro ‘FIBHEAPKEY_MIN’
  261 |   fibheap_replace_key (heap, node, FIBHEAPKEY_MIN);
      |                                    ^~~~~~~~~~~~~~
make[1]: *** [Makefile:768: fibheap.o] Error 1
make[1]: Leaving directory '/home/parker/.cache/paru/clone/sh-elf-binutils-casio/src/binutils-2.36.1/binutils-build/libiberty'
checking for style of include used by make... make: *** [Makefile:8089: all-libiberty] Error 2
make: *** Waiting for unfinished jobs....