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

            Bug ID: 18139
           Summary: Clang 3.5 (exp1) compiles GNUStep successfully on
                    Linux, but caused segment fault when running.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

I want to learn Objective-C programming on Linux. I tried gobjc but its
libraries are too old, so I decided to compile my own libraries with the help
of Clang. 
I used Clang 3.5(exp1) from Ubuntu Nightly packages to compile GNUStep, simply
doing "export CC=clang; ./configure; make ; make install;". I start from
libobjc2-1.7, then gnustep-make 2.6.5, then gnustep-base-1.24.5, then
gnustep-gui0.23.1. All success. But finally when I tried to make
gnustep-back-0.23.0, it stops with segment fault. Then I found that a simple
hello world program using NSLog will also cause segment fault. So I guess that
somehow Clang didn't compile gnustep-base correctly. 
All the gnustep packages was download from official GNUStep website. I removed
Clang 3.5 and installed Clang 3.0 from Ubuntu apt. Problem solved.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to