Package Details: lib32-dietlibc 0.34-1

Git Clone URL: https://aur.archlinux.org/lib32-dietlibc.git (read-only, click to copy)
Package Base: lib32-dietlibc
Description: A C library optimized for small size (32-bit)
Upstream URL: https://www.fefe.de/dietlibc/
Licenses: GPL
Submitter: tredaelli
Maintainer: dbermond
Last Packager: dbermond
Votes: 0
Popularity: 0.000000
First Submitted: 2013-12-04 10:00 (UTC)
Last Updated: 2021-03-18 01:44 (UTC)

Latest Comments

bennofs commented on 2018-09-20 09:39 (UTC) (edited on 2018-09-20 09:40 (UTC) by bennofs)

The following patch fixes the build for me:

commit 41db69d4a2ca2753c277e7723c3e03dfa5fc962a
Author: Benno Fünfstück <benno.fuenfstueck@gmail.com>
Date:   Thu Sep 20 11:38:42 2018 +0200

    fix build

diff --git a/PKGBUILD b/PKGBUILD
index [`cf82066`](https://aur.archlinux.org/cgit/aur.git/commit/?h=lib32-dietlibc&id=cf82066)..8d29a69 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,11 +18,11 @@ md5sums=('9d541b9a6623b04ec12e5248b82db7c0')

 build() {
   cd "$_pkgbasename-$pkgver"
-  make MYARCH=i386 CC="gcc -m32"
+  make ARCH=i386
 }

 package() {
   cd "$_pkgbasename-$pkgver"
-  make MYARCH=i386 DESTDIR="$pkgdir/" install
+  make ARCH=i386 DESTDIR="$pkgdir/" install
   rm -rf "$pkgdir/opt/diet/"{bin,include,man}/
 }

ogasser commented on 2017-09-02 21:47 (UTC)

Did not makepkg for me: bin-i386/diet gcc -m32 -pipe -nostdinc -O2 -pipe -fomit-frame-pointer -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -o bin-i386/dnsd contrib/dnsd.c /tmp/ccpN8RS8.o: In function `init_sockets': dnsd.c:(.text+0xc4): undefined reference to `socket' dnsd.c:(.text+0xd4): undefined reference to `socket' dnsd.c:(.text+0x13a): undefined reference to `setsockopt' dnsd.c:(.text+0x16c): undefined reference to `bind' dnsd.c:(.text+0x1b4): undefined reference to `setsockopt' dnsd.c:(.text+0x1cc): undefined reference to `setsockopt' dnsd.c:(.text+0x1f7): undefined reference to `setsockopt' dnsd.c:(.text+0x20a): undefined reference to `setsockopt' dnsd.c:(.text+0x230): undefined reference to `setsockopt