Opened 3 years ago

Last modified 22 months ago

#17547 new bug

jam - Detect infinite recursion

Reported by: kallisti5 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Build System Version: R1/beta3
Keywords: jam Cc:
Blocked By: Blocking:
Platform: All

Description

Jam doesn't detect infinite Jamfile recursion and just segfaults when this happens.

We should probably fix that. See #17546 and #13309 for cases of this happening.

Example:

File: ../src/add-ons/kernel/cpu/Jamfile
Has: SubInclude HAIKU_TOP src add-ons kernel cpu $(TARGET_KERNEL_ARCH_DIR) ;

If TARGET_KERNEL_ARCH_DIR is empty.. the Jamfile infinitely recurses.

Change History (1)

comment:1 by SamuraiCrow, 22 months ago

I'm trying to build a 32-bit image using Clang12 on Haiku native. Is there an easy fix for this? It recurses infinitely every time.

Configure line:

../configure --use-clang x86

Build initiated as:

jam -j8
Note: See TracTickets for help on using tickets.