[ 
https://issues.apache.org/jira/browse/HDFS-6979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HDFS-6979:
--------------------------------
    Attachment: HDFS-6979.1.patch

[~rusanu], thank you for reporting this.  The CMake build defaults to release 
mode, and in this mode, it assumes you don't want a pdb.  CMake however also 
emits an alternative build configuration named RelWithDebInfo that is a 
release-mode build, but with generation of a pdb.  This is a trivial fix to 
switch over to using the RelWithDebInfo configuration.  The only other thing I 
needed to tweak was that RelWithDebInfo also turns on incremental linking, 
which we don't use in hadoop-common.  For consistency, I've overridden this to 
false.

> hdfs.dll  not produce .pdb files
> --------------------------------
>
>                 Key: HDFS-6979
>                 URL: https://issues.apache.org/jira/browse/HDFS-6979
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>            Reporter: Remus Rusanu
>            Assignee: Chris Nauroth
>            Priority: Minor
>              Labels: build, cmake, native, windows
>         Attachments: HDFS-6979.1.patch
>
>
> hdfs.dll build does not produce a retail pdb. For comparison we do produce 
> pdbs for winutils.exe and hadoop.dll.
> I did not verify whether cmake project does not produce a dll with embeded 
> pdb.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to