[LLVMbugs] [Bug 5354] New: alsa-lib fails to compile because of jump issues

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Oct 30 06:35:56 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=5354

           Summary: alsa-lib fails to compile because of jump issues
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: impulze at impulze.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3722)
 --> (http://llvm.org/bugs/attachment.cgi?id=3722)
A testcase that triggers the failure.

The error occurs when building src/pcm/pcm_route.o
The errors are all relatively equal to:

pcm_route.c:270:3: error: address taken of label in protected scope, jump to it
would have unknown     
      effect on scope                                                           
                &&norm_int64_24_att,                                            
                ^



impulze at quenya ~ $ clang --version
clang version 1.1 (trunk 85584)
Target: x86_64-unknown-linux-gnu
Thread model: posix


Attaching the preprocessed source of the failing code and a small testcase to
reproduce the error.
The command that produced the preprocessed output and which is used when
building alsa-lib is as follows:
clang -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -march=k8-sse3
-mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param
l2-cache-size=256 -mtune=k8 -mtune=k8 -pipe -O2 -c pcm_route.c  -fPIC -DPIC -o
.libs/pcm_route.o


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list