c++.command-line - Deadlock in the linker?
Er, I did notice one other issue besides the unusual behavior of -A. It seems the Digital Mars linker has a deadlock issue when run on multiprocessor machines. Every once in a while (perhaps 1 link out of 20), the linker simply hangs and makes no progress. I've left the linker running sometimes 15 minutes before breaking out (where normally the link takes 3 seconds). My test box is a 2 CPU Xeon Pentium III. I've not tested on a uniprocessor box, but I do suspect a race condition somewhere due to the non-deterministic behavior I'm seeing. It's not a problem that can't be worked around, although it is annoying having to break the link and restart. Has anyone else seen this behavior? Thanks, /Michael
Mar 26 2004
"Michael" <Michael_member pathlink.com> wrote in message news:c42uhl$1kun$1 digitaldaemon.com...Er, I did notice one other issue besides the unusual behavior of -A. Itseemsthe Digital Mars linker has a deadlock issue when run on multiprocessor machines. Every once in a while (perhaps 1 link out of 20), the linkersimplyhangs and makes no progress. I've left the linker running sometimes 15minutesbefore breaking out (where normally the link takes 3 seconds). My test box is a 2 CPU Xeon Pentium III. I've not tested on a uniprocessorbox,but I do suspect a race condition somewhere due to the non-deterministic behavior I'm seeing. It's not a problem that can't be worked around, although it is annoyinghavingto break the link and restart. Has anyone else seen this behavior?Yes, it's a known bug.
Mar 26 2004