Hi all, I've just been through base on my system and recompiled with;
CARCH="i486" CHOST="i486-pc-linux-gnu" CFLAGS="-march=i486 -mtune=i686 -Os -pipe" CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe" This is basically for my own use on Mini-ITX boards and other less powerful SBCs. I am happy to share any of my (minimal) work with others if they are interested. Over the course of this I've noticed a few things in various PKGBUILDs which I thought I would list here. I'm sure that some of them are already known. shadow/ Appears to be out of date, updating the version to 4.0.15 and switching the source to http rather than ftp seems to work fine. dialog/ Appears to be out of date, updating the version to 1.0-20060221 seems to work fine. licenses/ The GPL and LGPL md5sums seem to have changed. db/ The md5sum seems to have changed. rp-pppoe/ Appears to be out of date, updating the version to 3.8 seems to work fine. raidtools/ I needed to patch to remove getpageshift() from raidlib.c as it was confilcting with /usr/include/asm/page.h - This should be a problem whichever arch you are building for. iputils/ This is the only package I can't compile. If anyone has any hints I'd be most grateful. The failure is below. ------------------ iputils build log ------------------------- ==> Starting build()... patching file Makefile patching file arping.c patching file clockdiff.c patching file ping.c patching file ping_common.h patching file rarpd.c patching file rdisc.c patching file tftpd.c patching file tracepath.c patching file traceroute6.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include tracepath.c -lresolv -o tracepath gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include -c -o ping.o ping.c ping.c: In function 'main': ping.c:321: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness ping.c: In function 'install_filter': ping.c:1216: warning: implicit declaration of function '___constant_swab16' gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include -c -o ping_common.o ping_common.c ping_common.c: In function 'fill': ping_common.c:70: warning: pointer targets in initialization differ in signedness ping_common.c: In function 'sock_setbufs': ping_common.c:406: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness ping_common.c: In function 'setup': ping_common.c:467: warning: pointer targets in initialization differ in signedness gcc ping.o ping_common.o -lresolv -o ping ping.o: In function `install_filter': /var/abs/base/iputils/src/iputils/ping.c:1216: undefined reference to `___constant_swab16' collect2: ld returned 1 exit status make: *** [ping] Error 1 ==> ERROR: Build Failed. Aborting... ------------------- end build log ------------------------- Incase anyone was wondering, yes, I am aware of Rubix, I have evaluated it but I prefer Arch for various reasons. Cheers, hads -- Time is an illusion perpetrated by the manufacturers of space. _______________________________________________ arch mailing list arch@archlinux.org http://www.archlinux.org/mailman/listinfo/arch