DragonFly commits List (threaded) for 2007-08
DragonFly BSD
DragonFly commits List (threaded) for 2007-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: 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 ...


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Aug 2007 22:27:17 -0700 (PDT)

: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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]