#3846 closed defect (fixed)
Build system does not track the dependencies of start.o files
Reported by: | Sebastian Huber | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 6.1 |
Component: | build | Version: | 6 |
Severity: | normal | Keywords: | qualification |
Cc: | Blocked By: | ||
Blocking: |
Description
This defect relates to the new waf based build system.
Most start.o are generated from start.S files which use the C preprocessor. The start.o files are not re-generated if header files (e.g. cpuopts.h, bspopts.h) change. The problem is that the automatic dependency generation via the GCC -MMD flags doesn't work with the current asm rule:
def asm(self, bld, bic, source, target=None, deps=[], cppflags=[]): if target is None: target = os.path.splitext(source)[0] + ".o" bld( asflags=self.data["asflags"], before=["cstlib"], cppflags=cppflags + self.data["cppflags"], features="asm c", includes=bic.includes + self.data["includes"], rule="${CC} ${ASFLAGS} ${CPPFLAGS} ${DEFINES_ST:DEFINES} ${CPPPATH_ST:INCPATHS} -c ${SRC[0]} -o ${TGT}", source=[source] + deps, target=target, ) return target
Change History (2)
comment:1 Changed on 09/17/20 at 06:58:03 by Sebastian Huber <sebastian.huber@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:2 Changed on 06/23/21 at 07:07:55 by Sebastian Huber
Keywords: | qualification added |
---|
Note: See
TracTickets for help on using
tickets.
In 4eea8d4/rtems: