View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013573CMakeCMakepublic2012-10-05 10:012013-03-04 08:38
Reportermuhkuh 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.9 
Target VersionCMake 2.8.11Fixed in Version 
Summary0013573: RPATH not supported when cross compiling for FreeBSD
DescriptionWe have a MinGW hosted gcc cross compiler for windows that that targets FreeBSD. The created makefiles for MinGW make don't add any -rpath options to the linker command line.
Steps To ReproduceI don't really know how how to provide a test case. The cross compiler is pretty large as it needs a lot of system libraries and headers to function properly. I can provide it if neccessary.
Additional InformationI think the reason for this is in:
CMAKE_ROOT/share/cmake-2.8/Modules/Platform/FreeBSD.cmake.
If I comment out the checks for existence of a file "/usr/include/dlfcn.h" everything starts working. Unfortunately I don't know the proper way to deal with this in a way that it still checks what it is supposed to check in a cross compiling environment.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0031182)
Brad King (manager)
2012-10-05 10:39

The check for "/usr/include/dlfcn.h" on the host is clearly wrong. The entire check is left from ancient changes anyway. It is simplest to remove it:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6f68ef42 [^]
(0032467)
Robert Maynard (manager)
2013-03-04 08:38

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-10-05 10:01 muhkuh New Issue
2012-10-05 10:39 Brad King Note Added: 0031182
2012-10-05 10:39 Brad King Assigned To => Brad King
2012-10-05 10:39 Brad King Status new => resolved
2012-10-05 10:39 Brad King Resolution open => fixed
2012-10-05 10:39 Brad King Target Version => CMake 2.8.11
2013-03-04 08:38 Robert Maynard Note Added: 0032467
2013-03-04 08:38 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team