On Fri, May 11, 2012 at 12:30 PM, Xiaofan Chen <[email protected]> wrote:
> It may have something to do with the C compiler. The other alternative > under Mac OS X (XCode) is using Clang. It still segfaults but go slightly > further, it segfaults after the first "reset init" command. > > mymacmini:lm3s1968 xiaofanc$ clang -v > Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn) > Target: x86_64-apple-darwin11.3.0 > Thread model: posix > > mymacmini:build_mpsse_clang xiaofanc$ cat myconfig_git.sh > CC="clang" LDFLAGS="-L/usr/local/lib -lusb-1.0" ../configure > --enable-maintainer-mode --prefix=/Users/xiaofanc/bin --enable-jlink > --enable-ftdi --enable-ft2232_libftdi --enable-stlink --disable-werror You're building with --disable-werror. Is that because you get warnings that could hint that I'm doing something unsafe that could blow up under certain optimizations etc? Clang is usually good at finding those problems, at least compared to the old gcc you had as an alternative. /Andreas ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
