cvs commit: src/gnu/usr.bin/cc41/cc_tools Makefile Makefile.gen Makefile.tools src/gnu/usr.bin/cc41/cc_tools/gcov-iov Makefile src/gnu/usr.bin/cc41/cc_tools/genattr Makefile src/gnu/usr.bin/cc41/cc_tools/genattrtab Makefile src/gnu/usr.bin/cc41/cc_tools/gencheck Makefile ...

Matthew Dillon dillon at apollo.backplane.com
Mon Aug 27 22:29:48 PDT 2007


:corecode    2007/08/25 08:29:29 PDT
:
:DragonFly src repository
:
:  Modified files:
:    gnu/usr.bin/cc41/cc_tools Makefile Makefile.tools 

    Hmm.  It's trying to create files inside /usr/src, which is not
    allowed.  It has to create them in the object directory.

===> gnu/usr.bin/cc41/libiberty
/usr/obj/usr/src/world_i386/usr/src/gnu/usr.bin/cc41/libiberty created for /usr/
src/gnu/usr.bin/cc41/libiberty
===> gnu/usr.bin/cc41/cc_tools
mkdir -p /usr/src/gnu/usr.bin/cc41/cc_tools//../cc_tools/gen
mkdir: /usr/src/gnu/usr.bin/cc41/cc_tools//../cc_tools/gen: Read-only file syste
m
*** Error code 1
1 error
*** Error code 2
1 error

    It looks like the problem is this line in cc_tools/Makefile:

obj depend: mktooldir

    This is running for make obj target, before the object directory exists,
    which means that make can't find the object directory at that point in
    the file (because it doesn't exist yet), which means that make's idea
    of .OBJDIR is the source directory.

						-Matt





More information about the Commits mailing list