Opened 6 years ago

Closed 6 years ago

#759 closed defect (fixed)

Incremental build is broken

Reported by: Jakub Jermář Owned by: Jiří Zárevúcky
Priority: major Milestone: 0.9.1
Component: helenos-build Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description (last modified by Jakub Jermář)

Incremental build is severely broken. Steps to reproduce:

  1. build default amd64 profile
  2. apply the patch below that should result in HelenOS hanging early during boot
  3. type make and watch how only libc gets rebuilt
  4. run HelenOS and watch how HelenOS continues to run normally
  5. now do make clean; make
  6. only now the change takes effect and HelenOS hangs as expected

The patch for testing:

diff --git a/uspace/lib/c/generic/async/server.c b/uspace/lib/c/generic/async/server.c
index a75825b1e..41e02f78f 100644
--- a/uspace/lib/c/generic/async/server.c
+++ b/uspace/lib/c/generic/async/server.c
@@ -1024,6 +1024,7 @@ void __async_server_init(void)
 errno_t async_accept_0(ipc_call_t *call)
+       for(;;);
        return ipc_answer_5(call->cap_handle, EOK, 0, 0, 0, 0,

Change History (4)

comment:1 by Jakub Jermář, 6 years ago

Description: modified (diff)

comment:2 by Jiří Zárevúcky, 6 years ago

Owner: set to Jiří Zárevúcky
Status: newaccepted

comment:3 by Jakub Jermář, 6 years ago


comment:4 by Jiří Zárevúcky, 6 years ago

Resolution: fixed
Status: acceptedclosed

Not exactly sure if it's something I originally missed, or if some change regressed later. Either way, fixed via commit 3d7594.

Note: See TracTickets for help on using tickets.