New build infrastructure in svn

Peter S. Mazinger ps.m at gmx.net
Thu Oct 27 07:19:10 UTC 2005


On Thu, 27 Oct 2005, Peter S. Mazinger wrote:

> On Wed, 26 Oct 2005, Jan-Benedict Glaw wrote:
> 
> > On Wed, 2005-10-26 10:42:51 +0200, Peter S. Mazinger <ps.m at gmx.net> wrote:
> > 
> > > a. Backup your Makefile's (those removed/replaced by create_links.sh)
> > > b. ./extra/scripts/create_links.sh will add a minimal set of symlinks to 
> > > allow building make -f Makefile.in.
> > 
> > For vax-linux-uclibc, this results in:
> > 
> > make[1]: Leaving directory `/home/jbglaw/vax-linux/scm/build-20051026-105731-vax-linux-uclibc/src/uclibc/libc'
> > make -C  libcrypt
> > make[1]: Entering directory `/home/jbglaw/vax-linux/scm/build-20051026-105731-vax-linux-uclibc/src/uclibc/libcrypt'
> > "vax-linux-uclibc-"gcc ../libcrypt/crypt.c ../libcrypt/des.c ../libcrypt/md5.c -c -o ../libcrypt/libcrypt.o   -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing   -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../include -I.  -Os -funit-at-a-time    -isystem /home/jbglaw/vax-linux/scm/build-20051026-105731-vax-linux-uclibc/install/usr/lib/gcc/vax-linux-uclibc/4.1.0/include -DNDEBUG        -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing   -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I../include -I.  -Os -funit-at-a-time    -isystem /home/jbglaw/vax-linux/scm/build-20051026-105731-vax-linux-uclibc/install/usr/lib/gcc/vax-linux-uclibc/4.1.0/include -DNDEBUG
> > vax-linux-uclibc-gcc: cannot specify -o with -c or -S with multiple files
> > make[1]: *** [../libcrypt/libcrypt.o] Error 1
> > make[1]: Leaving directory `/home/jbglaw/vax-linux/scm/build-20051026-105731-vax-linux-uclibc/src/uclibc/libcrypt'
> > make: *** [_dir_libcrypt] Error 2
> 
> This seems to be a vax compiler issue, it does not allow multiple source 
> files. For you add DOMULTI=n to libcrypt/Makefile.in and it will build all 
> objects separately (will happen in other directories too, 
> libutil/linuxthreads_db/libm). I could make that an option, but first have 
> a look if gcc could get support for it, it is supported in gcc-3.4 for x86

I found out that gcc-3.3 does not support this either, so I need to add a 
check for it. Could you if your compiler supports 
-fcombine/-combine/--combine?

Peter 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list