Package Details: dietlibc-cvs 20150317-1

Git Clone URL: https://aur.archlinux.org/dietlibc-cvs.git (read-only, click to copy)
Package Base: dietlibc-cvs
Description: a libc optimized for small size
Upstream URL: https://www.fefe.de/dietlibc/
Licenses: GPL
Conflicts: dietlibc
Provides: dietlibc
Submitter: mcmilk
Maintainer: None
Last Packager: TrialnError
Votes: 2
Popularity: 0.000000
First Submitted: 2006-06-14 20:45 (UTC)
Last Updated: 2023-06-27 20:33 (UTC)

Dependencies (1)

Required by (8)

Sources (0)

Latest Comments

luelista commented on 2018-01-11 16:22 (UTC) (edited on 2018-01-11 16:23 (UTC) by luelista)

makepkg syntax has changed yet again, patch as follows:

-license="GPL"
+license=("GPL")

however, linker still fails with:

/usr/bin/ld: bin-x86_64/dietlibc.a(stackgap.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC

/usr/bin/ld: final link failed: Nonrepresentable section on output

ub1quit33 commented on 2015-03-17 21:14 (UTC)

This PKGBUILD is out of date and not compatible with current makepkg. The patch provided below will fix this. --- PKGBUILD.orig 2014-09-18 16:48:50.000000000 -0700 +++ PKGBUILD 2015-03-17 14:08:01.449663832 -0700 @@ -43,6 +43,10 @@ sed -i 's/-fPIC/& -fno-asynchronous-unwind-tables/' x86_64/Makefile.add PATH=/usr/bin make all +} + +package(){ + cd "$srcdir/$_cvsmod-build" make DESTDIR=$pkgdir install mkdir -p "$pkgdir/usr/bin" ln -s /opt/diet/bin/diet "$pkgdir"/usr/bin/diet

eduardosm commented on 2011-05-20 13:47 (UTC)

I get the following error when building: env -u LD_RUN_PATH gcc -D__dietlibc__ -isystem include -Os -fstrict-aliasing -momit-leaf-frame-pointer -mfancy-math-387 -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -fPIC -nostdlib -o pic-x86_64/diet-dyn pic-x86_64/start.o pic-x86_64/dyn_start.o diet.c -DDIETHOME=\"/tmp/yaourt-tmp-eduardo/aur-dietlibc-cvs/src/dietlibc-build\" -D__DYN_LIB -DVERSION=\"dietlibc-0.33\" -Lpic-x86_64 -lc -lgcc pic-x86_64/dyn_stop.o -Wl,-dynamic-linker=/tmp/yaourt-tmp-eduardo/aur-dietlibc-cvs/src/dietlibc-build/pic-x86_64/libdl.so /usr/bin/ld: error in pic-x86_64/dyn_stop.o(.eh_frame); no .eh_frame_hdr table will be created. pic-x86_64/libc.so: undefined reference to `connect' pic-x86_64/libc.so: undefined reference to `recvfrom' pic-x86_64/libc.so: undefined reference to `socket' pic-x86_64/libc.so: undefined reference to `bind' pic-x86_64/libc.so: undefined reference to `umount2' pic-x86_64/libc.so: undefined reference to `sendto' pic-x86_64/libc.so: undefined reference to `recvmsg' collect2: ld devolvió el estado de salida 1 make: *** [pic-x86_64/diet-dyn] Error 1