[LLVMbugs] [Bug 18139] New: Clang 3.5 (exp1) compiles GNUStep successfully on Linux, but caused segment fault when running.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 4 16:12:53 PST 2013


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: unassignedclangbugs at nondot.org
          Reporter: skyline75489 at outlook.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131205/bbc2ea54/attachment.html>


More information about the llvm-bugs mailing list