cvs commit: src/gnu/lib/gcc34/libgcc Makefile src/gnu/usr.bin/cc34/cc_tools Makefile Makefile.tools src/share/mk bsd.hostprog.mk

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jun 21 14:52:16 PDT 2004


dillon      2004/06/21 14:50:02 PDT

DragonFly src repository

  Modified files:
    gnu/lib/gcc34/libgcc Makefile 
    gnu/usr.bin/cc34/cc_tools Makefile Makefile.tools 
  Log:
  Fix -j builds for gcc-3.4.  The .nx build in cc_tools was breaking
  parallelism because individual source/header dependancies were being built
  in parallel, and this was causing the helper programs to build in parallel
  and/or generate the same header file in parallel.
  
  Remove all direct dependancies on the helper programs.  Make libgcc
  dependant on cc_tools (to generate required header files), clean up
  the dependancy target for cc_tools, and force make depend to build
  the tools.  This should result in all the tools being available to the
  rest of the gcc-3.4 build.
  
  Tested with several -j 8 builds.  There could still be additional
  -j issues.
  
  Revision  Changes    Path
  1.4       +13 -2     src/gnu/lib/gcc34/libgcc/Makefile
  1.5       +1 -1      src/gnu/usr.bin/cc34/cc_tools/Makefile
  1.4       +22 -84    src/gnu/usr.bin/cc34/cc_tools/Makefile.tools


  Modified files:
    share/mk             bsd.hostprog.mk 
  Log:
  Fix -j builds for gcc-3.4.  The .nx build in cc_tools was breaking
  parallelism because individual source/header dependancies were being built
  in parallel, and this was causing the helper programs to build in parallel
  and/or generate the same header file in parallel.
  
  Remove all direct dependancies on the helper programs.  Make libgcc
  dependant on cc_tools (to generate required header files), clean up
  the dependancy target for cc_tools, and force make depend to build
  the tools in bsd.hostprog.mk.  This should result in all the tools being
  available to the rest of the gcc-3.4 build.
  
  Tested with several -j 8 builds.  There could still be additional
  -j issues.
  
  Revision  Changes    Path
  1.5       +4 -1      src/share/mk/bsd.hostprog.mk


http://www.dragonflybsd.org/cvsweb/src/gnu/lib/gcc34/libgcc/Makefile.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc34/cc_tools/Makefile.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc34/cc_tools/Makefile.tools.diff?r1=1.3&r2=1.4&f=u





More information about the Commits mailing list