[CMake] Error running link command: Bus error

David Cole david.cole at kitware.com
Wed Aug 24 10:39:56 EDT 2011


On Tue, Aug 23, 2011 at 5:48 AM, Patrick Gampp <hr824 at gmx.de> wrote:
> What is your environment like? The Tutorial steps run on all of our
> CMake dashboards, and we have several "Unix Makefiles" dashboards
> running on various Macs. We do not see this error anywhere...
>
>
> Mac Hardware:
>   Model Name: Mac mini
>   Model Identifier: Macmini4,1
>   Processor Name: Intel Core 2 Duo
>   Processor Speed: 2,66 GHz
>   Number Of Processors: 1
>   Total Number Of Cores: 2
>   L2 Cache: 3 MB
>   Memory: 8 GB
>   Bus Speed: 1,07 GHz
>   Boot ROM Version: MM41.0042.B00
> Mac Software:
>
>   System Version: Mac OS X 10.6.8 (10K549)
>   Kernel Version: Darwin 10.8.0
>   Boot Volume: Macintosh HD
>   Boot Mode: Normal
>   Computer Name: mac151
>   Secure Virtual Memory: Not Enabled
>   64-bit Kernel and Extensions: No
> CMake Version 2.8.5
>
>
> Do you have CC and/or CXX set to something?
>
> I used the Tutorial/Step2/CMakeLists.txt without modifying it.
> For my own project, I didn't set CC or CXX in my CMakeLists.txt file.
>
>
> Do you have a non-traditional or self-built compiler installed in your
> environment?
>
> No.
>
> MacPorts / Fink / some other non-Apple compiler? [...]
>
> I use Fink, and downloaded some libraries, but I didn't download/install a
> compiler intentionally via Fink.
>
> (And what version of Xcode and Mac OS X?)
>
> I use Xcode 4.
> Developer Information:
>   Version: 4.0 (4A2002a)
>   Location: /Developer
>   Applications:
>   Xcode: 4.0.2 (99)
>   Instruments: 4.0 (3538)
>   Dashcode: 3.0.2 (333)
>   SDKs:
>   Mac OS X:
>   10.6: (4A2002a)
>   iPhone OS:
>   4.3: (8H7)
>   iPhone Simulator:
>   3.2: (7W367a)
>   4.0: (8A400)
>   4.1: (8B117)
>   4.2: (8C134)
>   4.3: (8H7)
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>

This is the linker that's crashing. There must be something about your
environment that causes it, but only when you run it against the
Tutorial code...



More information about the CMake mailing list