[LLVMbugs] [Bug 21143] New: Non-deterministic results compiling on virtual Windows 8.1 Pro Update when using a Shared Folder

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 2 15:02:17 PDT 2014


            Bug ID: 21143
           Summary: Non-deterministic results compiling on virtual Windows
                    8.1 Pro Update when using a Shared Folder
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: xda at cypress.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

1. Install Windows 8.1 Pro Update on a virtual machine (tried with VirtualBox
4.3.16 on a Windows 7 x64 host as well as Parallels on an OS X host).

2. On the guest, install gcc-arm-embedded
and LLVM (http://llvm.org/releases/3.5.0/LLVM-3.5.0-win32.exe).

3. On the host, extract the attached files. Create a VirtualBox/Parallels
shared folder so the guest can access the extracted files. On the guest, use
the "Map Network Drive" button to map the shared folder as drive 'E'.

4. On the guest, open the command prompt and and run the following commands:

cd "C:\Program Files\LLVM\bin"

clang -ferror-limit=0 -isystem "C:\Program Files\GNU Tools ARM Embedded\4.8
2014q3\lib\gcc\arm-none-eabi\4.8.4\include" -isystem "C:\Program Files\GNU
Tools ARM Embedded\4.8 2014q3\lib\gcc\arm-none-eabi\4.8.4\include-fixed"
-isystem "C:\Program Files\GNU Tools ARM Embedded\4.8
2014q3\arm-none-eabi\include" -IE:\Doorbell.Bundle01\Doorbell.cydsn
-IE:\Doorbell.Bundle01\Doorbell.cydsn\Generated_Source\PSoC4 -c
E:\Doorbell.Bundle01\Doorbell.cydsn\main.c -o

It may be necessary to change the paths to "Program Files (x86)" if using a
64-bit guest.
main.c contains a syntax error and is not expected to compile correctly.

5. Repeat the command several times. You get different numbers of
errors/warnings and sometimes get stuck in an infinite (?) loop. While stuck in
this loop the memory usage keeps increasing. Log files for 16 consecutive runs
have been included in the attachment. Note: file12.txt was an infinite loop
that was eventually interrupted with Ctrl+C. file4.txt contains the expected

Note: I saw a similar issue when calling
clang_createTranslationUnitFromSourceFile with the same source files.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141002/bfea8017/attachment.html>

More information about the llvm-bugs mailing list