#30310: cdrtools-3.00 hangs during configure/compilation creating avoffset.h -----------------------------------------+---------------------------------- Reporter: pkutzner+macports@… | Owner: bytestorm@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: lion | Port: cdrtools -----------------------------------------+---------------------------------- Comment(by jhiesey@…): I have been having this problem (avoffset hangs during smake build) on Snow Leopard with XCode 4.0.2 as well as on Lion with XCode 4.1. I attached gdb to the hung avoffset process, and from this it looks like avoffset.c is being miscompiled. The loop to scan the stack looks like this: {{{ while (fp->fr_savfp) { if (fp->fr_savpc == 0) break; fp = (struct frame *)fp->fr_savfp; i++; } }}} but the compiler generates a wrong jump at the top of the loop, causing it to just loop forever on that line: {{{ 0x000000010ace3ab0 <main+304>: jmp 0x10ace3ab0 <main+304> }}} This looks like a backend bug in llvm to me. Compiling with gcc-4.2 works, while clang and llvm-gcc-4.2 both fail. Since I've never submitted a patch for MacPorts before (or even posted on a ticket), I think I'll let someone else submit a patch for the portfile. -- Ticket URL: <https://trac.macports.org/ticket/30310#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS