Package Details: lib32-gcc48-alternative-libs 4.8.5-2

Git Clone URL: https://aur.archlinux.org/gcc48-alternative.git (read-only, click to copy)
Package Base: gcc48-alternative
Description: Runtime GCC 4.8 libraries (32-bit)
Upstream URL: http://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Submitter: wtx
Maintainer: wtx
Last Packager: wtx
Votes: 0
Popularity: 0.000000
First Submitted: 2016-12-23 07:08 (UTC)
Last Updated: 2017-12-22 11:26 (UTC)

Latest Comments

aequabit commented on 2023-11-27 03:47 (UTC) (edited on 2023-11-27 03:48 (UTC) by aequabit)

To fix isl without downloading it manually, just run this within the cloned package, it gets the source from gnu.org instead:

$ sed -i -e 's/http:\/\/isl.gforge.inria.fr\/isl-${_islver}.tar.bz2/https:\/\/gcc.gnu.org\/pub\/gcc\/infrastructure\/isl-${_islver}.tar.bz2/g' PKGBUILD

DarkShadow44 commented on 2023-06-13 18:19 (UTC)

isl download is broken. You can get it from here: https://sourceforge.net/projects/libisl/files/

I also get a build error:

/var/cache/yay/gcc48-alternative/src/gcc-4.8.5/gcc/reload1.c:89:24: error: use of an operand of type ‘bool’ in ‘operator++’ is forbidden in C++17
   89 |   (this_target_reload->x_spill_indirect_levels)

Not sure why.

Side note: I don't think you can use "-j 8" or similar for parallel compilation.

amunkres commented on 2019-03-10 19:19 (UTC) (edited on 2019-03-10 19:20 (UTC) by amunkres)

I encountered the following error message when trying to compile this package:

error: cannot compute suffix of object files: cannot compile

From looking in one of the "config.log" files, it turned out that the underlying error from the compiler was this:

error: unrecognized command line option '-fno-plt'

However, after changing the PKGBUILD to remove the "-fno-plt" switch from the CFLAGS and CXXFLAG variables, I was able to successfully compile it. The change I made to the PKGBUILD was to add these two lines to the build() function:

  CFLAGS=${CFLAGS/-fno-plt/}
  CXXFLAGS=${CFLAGS/-fno-plt/}

cataldo commented on 2018-07-27 19:29 (UTC) (edited on 2018-07-27 19:29 (UTC) by cataldo)

Hello, i was unable to compile the package as it because of this line: make -C $CHOST/libstdc++-v3/doc doc-man-doxygen

the compilation process was generating an "unknown" architecture, hence the folder was not the same as $CHOST (x86_64-unknown-linux-gnu vs. x86_64-pc-linux-gnu)

Therefore, i added to the configure line of gcc: --build="${CHOST}" \

this solved my problem! (PS: I took the additional build line from the gcc48-AUR)

wtx commented on 2017-12-22 11:28 (UTC)

@severach: thanks for pointing on fix. @dangersalad: should be fixed now.

severach commented on 2017-12-19 23:40 (UTC)

Try the ucontext patch in gcc48.

dangersalad commented on 2017-12-19 20:43 (UTC)

I am getting an error when trying to build this

./md-unwind-support.h: In function ‘x86_fallback_frame_state’:
./md-unwind-support.h:141:18: error: field ‘uc’ has incomplete type
  struct ucontext uc;
                  ^