View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010197CMakeCMakepublic2010-01-28 22:042016-06-10 14:31
ReporterMiguel Marte 
Assigned ToBill Hoffman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010197: Linking to 64bit lib when -m32 is specified
DescriptionCMake is trying to link to 64bit libs when x86 abi on a multilib system. This is on a Gentoo system with /usr/lib32, /usr/lib64 and a symlink /usr/lib to /usr/lib64.

CMake is generating this compile line.
http://pastebin.com/m56d3fdd [^]
Additional Informationhttp://pastebin.com/m56d3fdd [^]
TagsNo tags attached.
Attached Filespatch file icon lib32.patch [^] (503 bytes) 2012-01-24 17:20 [Show Content]

 Relationships

  Notes
(0022327)
Nathan Phillip Brink (binki) (reporter)
2010-09-22 22:40

What does this line look like when /usr/lib is not a symlink to /usr/lib64 but is its own directory?

Also, please don't link to pastebins in bug reports. Paste the content of the pastebin directly into the bug report or attach a build.log to the bug. Pastebins expire, possibly before the bugs they're describing get fixed.
(0024778)
David Cole (manager)
2011-01-17 13:03

Is this still a problem? Is there some specific change in CMake that is required to support this...?
(0028404)
Dan Kegel (reporter)
2012-01-24 17:23

The attached kludge patch makes find_library properly find 32 bit libraries on ubuntu 11.10 64 bit when building with CFLAGS=-m32. Miguel, does it help you?
(It's a kludge because it will break normal 64 bit building.)
(0041646)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2010-01-28 22:04 Miguel Marte New Issue
2010-09-22 22:40 Nathan Phillip Brink (binki) Note Added: 0022327
2011-01-17 13:03 David Cole Note Added: 0024778
2011-01-17 15:38 David Cole Assigned To => Bill Hoffman
2011-01-17 15:38 David Cole Status new => assigned
2012-01-24 17:20 Dan Kegel File Added: lib32.patch
2012-01-24 17:23 Dan Kegel Note Added: 0028404
2016-06-10 14:27 Kitware Robot Note Added: 0041646
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team