pe, 2005-03-25 kello 08:48 +0000, Gerrit Pape kirjoitti: > On Tue, Mar 22, 2005 at 07:54:35PM +0200, Lars Wirzenius wrote: > > When util-vserver is compiled, its Makefile runs libtool, which expects > > to find /usr/lib/diet/lib-powerpc. dietlibc-dev > > provides /usr/lib/diet/libppc instead. This seems like a bug; perhaps > > both are needed to be compatible with various other packages? > > there's no need for other packages to know about the location of the > diet libc libraries, I don't know why libtool is used here; looks like > it complicates things. Simply use CC='diet -v -Os gcc' and LD='diet -v > -Os gcc' to configure and build packages with the dietlibc. The 'diet' > wrapper with the -Os option takes care to adjust the gcc arguments > correctly then.
When I try linking manually (with the libtool stuff removed from the command line), it still doesn't work: [EMAIL PROTECTED]:~/util-vserver-0.30.204$ diet -v hppa-linux-gcc -Wall -g -DO_NOFOLLOW=00000200 -DO_LARGEFILE=00004000 -O2 -std=c99 -Wall -pedantic -W -o tests/getctx -static tests/getctx.o lib/libvserver.la -lcompat hppa-linux-gcc -nostdlib -static -L/usr/lib/diet/lib-hppa /usr/lib/diet/lib-hppa/start.o -Wall -g -DO_NOFOLLOW=00000200 -DO_LARGEFILE=00004000 -O2 -std=c99 -Wall -pedantic -W -o tests/getctx -static tests/getctx.o lib/libvserver.la -lcompat -isystem /usr/lib/diet/include -D__dietlibc__ /usr/lib/diet/lib-hppa/libc.a -lgcc hppa-linux-gcc: /usr/lib/diet/lib-hppa/start.o: No such file or directory hppa-linux-gcc: /usr/lib/diet/lib-hppa/libc.a: No such file or directory [EMAIL PROTECTED]:~/util-vserver-0.30.204$ If diet isn't the one adding /usr/lib/diet/lib-hppa/libc.a to the command line, then I'm confused. Perhaps it is an artifact of the configure phase having done with the assumption that libtool is being used. I couldn't figure out a way to get util-vserver (whose FTBFS bug I'm actually working on) to not use libtool. Adding -Os to diet does not change anything. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]