Package Details: lib32-libstdc++5 3.3.6-8

Git Clone URL: (read-only, click to copy)
Package Base: lib32-libstdc++5
Description: Legacy GNU Standard C++ library version 3 (32 bit)
Upstream URL:
Licenses: GPL, LGPL
Submitter: arojas
Maintainer: severach
Last Packager: severach
Votes: 16
Popularity: 0.000150
First Submitted: 2018-11-28 21:45 (UTC)
Last Updated: 2021-10-05 17:37 (UTC)

Latest Comments

MarsSeed commented on 2022-03-05 15:09 (UTC)

The build works just fine for me.

inoxllor commented on 2021-10-05 17:10 (UTC) (edited on 2021-10-05 17:41 (UTC) by inoxllor)

If it returns this error when trying to install using yay: "==> ERROR: A failure occurred in prepare(). /usr/share/makepkg/util/ line 51: QUIET: unbound variable /usr/bin/makepkg: line 131: logpipe: unbound variable error making: lib32-libstdc++5"

Then install first the "base-devel" pack using: pacman -S base-devel

radrow commented on 2020-10-02 08:22 (UTC)

Build fails on my side

Nine_Black commented on 2020-03-08 01:42 (UTC)

I have 403 error forbidden for link ( - You don't have permission to access /pub/gcc/releases/gcc-3.3.6/gcc-core-3.3.6.tar.bz2 on this server.)

I saw the last comment (about changing ftp to https) and tried with ftp: // - and it's works.

sanket143 commented on 2019-01-25 20:13 (UTC)

I think the uri_path to gcc-core needs to change to https:// instead of ftp:// ftp requires authentication and returns connection reset by peers while using curl.

severach commented on 2019-01-18 05:37 (UTC)

There you go. I didn't change the function. I rewrote a couple of lines to avoid the blacklist. You might take it up with the author to see if that's something he really wants to blacklist.

All that line does is to limit the threaded make to 8 processors. Someday I'll have a 4096 processor machine on which I can test 4096 thread make. Until then I limit it to 8.

HalJordan commented on 2019-01-18 04:37 (UTC)

I'm getting the following:

aura >>= WARNING: The PKGBUILD of lib32-libstdc++5 contains blacklisted bash expressions.


aura >>= _nproc>8?8:_nproc is a strange thing to have in your array fields. Is it safe? aura >>= Cancelled further processing to avoid potentially malicious bash code.

BrianAllred commented on 2019-01-14 16:36 (UTC)

It's fixed for me now. Thanks!!

severach commented on 2019-01-14 16:29 (UTC)

I fixed the shell. Try it now.

BrianAllred commented on 2019-01-14 05:00 (UTC) (edited on 2019-01-14 05:06 (UTC) by BrianAllred)

I did a clean git clone of the PKGBUILD and ran makepkg -sr. After a few seconds of compiling, I end up with

make TARGETS=oneprocess SHELL="/usr/bin/fish" CC="gcc" CFLAGS=" -march=i686 -m32 -O2 -pipe -DIN_GCC -W -Wwrite-strings -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE" LDFLAGS="" LIBERTY="/home/brian/Documents/lib32-libstdc++5/src/gcc-build/gcc/../libiberty/libiberty.a" install-bin

make[2]: Entering directory '/home/brian/Documents/lib32-libstdc++5/src/gcc-build/gcc/fixinc'

/usr/bin/fish ../../../gcc-3.3.6/gcc/fixinc/genfixes machname.h


../../../gcc-3.3.6/gcc/fixinc/genfixes (line 31): 'case' builtin not inside of switch block

case "$1" in


<W> fish: Error while reading file ../../../gcc-3.3.6/gcc/fixinc/genfixes

make[2]: *** [Makefile:111: machname.h] Error 127

make[2]: Leaving directory '/home/brian/Documents/lib32-libstdc++5/src/gcc-build/gcc/fixinc'

make[1]: *** [Makefile:2727:] Error 2

make[1]: *** Waiting for unfinished jobs....

make[1]: Leaving directory '/home/brian/Documents/lib32-libstdc++5/src/gcc-build/gcc'

make: *** [Makefile:1546: all-gcc] Error 2

/usr/bin/makepkg: line 342: logpipe: unbound variable

severach commented on 2019-01-14 00:50 (UTC)

Pull down a new PKGBUILD. I've already fixed all the problems.

BrianAllred commented on 2019-01-13 23:45 (UTC)


Where you you put those arguments? When I edit the PKGBUILD and add them to the CFLAGS and CXXFLAGS, I get errors about not recognizing them.

stramaz commented on 2019-01-09 08:45 (UTC)

thank you very much, now it works! :)

severach commented on 2019-01-09 02:27 (UTC)

Seems to work with snx. Tried gcc-49, didn't help. -m32 was needed but the big fix was -Wa,--32.

stramaz commented on 2019-01-08 16:49 (UTC)

Any updates? I still have errors as described below.. I'm stuck with other application installations with this dependency (like snx). Can somebody help us? Thanks

lenovolobo933 commented on 2018-12-26 07:32 (UTC)

i'm experiencing the same error..found this on the net:

Add -m32 to the gcc compilation line to create a 32 bit executable

how to go about implementing? thanks

alium commented on 2018-12-11 10:07 (UTC)

yes not working, and will working no more.. too old

pkoretic commented on 2018-12-11 08:20 (UTC)

not working, even with older/newer gcc, build configuration issue as mentioned below

alium commented on 2018-12-03 10:31 (UTC)


try use older gcc/glibc

m3thodic commented on 2018-12-03 00:11 (UTC)

Same error is happening to me as posted by @thx1138 below

thx1138 commented on 2018-12-02 21:05 (UTC) (edited on 2018-12-02 21:10 (UTC) by thx1138)


/var/build/lib32-libstdc++5/src/gcc-build/gcc/xgcc -B/var/build/lib32-libstdc++5/src/gcc-build/gcc/ -B/usr/x86_64-unknown-linux-gnu/bin/ -B/usr/x86_64-unknown-linux-gnu/lib/ -isystem /usr/x86_64-unknown-linux-gnu/include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -DGCC_FLOAT_NOT_NEEDED -shared -nodefaultlibs -Wl, -Wl,--version-script=libgcc/./ -o libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_trampoline.o libgcc/./main.o libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde-glibc.o libgcc/./unwind-sjlj.o libgcc/./unwind-c.o -lc && rm -f && ln -s

/usr/bin/ld: skipping incompatible /usr/lib32/ when searching for -lc

/usr/bin/ld: skipping incompatible /usr/lib32/libc.a when searching for -lc

/usr/bin/ld: i386 architecture of input file `/usr/lib32/crti.o' is incompatible with i386:x86-64 output

/usr/bin/ld: i386 architecture of input file `/usr/lib32/crtn.o' is incompatible with i386:x86-64 output

collect2: ld returned 1 exit status make[2]: *** [] Error 1

make[2]: Leaving directory '/var/build/lib32-libstdc++5/src/gcc-build/gcc'

make[1]: *** [Makefile:1491: stmp-multilib] Error 2

make[1]: Leaving directory '/var/build/lib32-libstdc++5/src/gcc-build/gcc'

make: *** [Makefile:1546: all-gcc] Error 2

==> ERROR: A failure occurred in build().


:: failed to build lib32-libstdc++5 package(s)