View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013858CMakeCMakepublic2013-01-18 07:302016-06-10 14:31
Reporterszx 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0013858: Automatic handling of .sym (exported symbol list) files on Linux
DescriptionOn Windows when you add a .def file, it just works i.e. no need to pass "/DEF:filename.def" (MSVC) or "-Wl,--def=filename.def" (MinGW) flags to the compiler.

I propose a similar behaviour for .sym files (or perhaps different extension) on Linux systems which would add "-Wl,--retain-symbols-file=filename.sym" to the link command line.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0032121)
Brad King (manager)
2013-01-18 09:23

Interesting idea. Implementation will require at least the following:

(1) Choose an extension and/or define a source file property to mark a file for this purpose. Can you provide examples of this being used in practice? Are there any conventions for the extension?

(2) Determine how to know when the linker is aware of this flag. Is it specific to Linux, to GNU binutils, etc.? When was it added? How do we detect its availability?

(3) Find the .def ("module definition") file handling code in existing CMake generators and add similar code for this one, possibly generalizing the original implementation to handle both.
(0042203)
Kitware Robot (administrator)
2016-06-10 14:28

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
2013-01-18 07:30 szx New Issue
2013-01-18 09:23 Brad King Note Added: 0032121
2013-01-18 09:23 Brad King Status new => backlog
2016-06-10 14:28 Kitware Robot Note Added: 0042203
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team