[
https://issues.apache.org/jira/browse/HADOOP-8811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13461362#comment-13461362
]
Radim Kolar commented on HADOOP-8811:
-------------------------------------
sysconf is returning long, check man page.
otherwise it will not work if sysconf constant is unknown by OS. size_t is
unsigned, negative number will get converted to large number and malloc will
fails to allocate that much memory.
> Compile hadoop native library in FreeBSD
> ----------------------------------------
>
> Key: HADOOP-8811
> URL: https://issues.apache.org/jira/browse/HADOOP-8811
> Project: Hadoop Common
> Issue Type: Bug
> Components: native
> Affects Versions: 0.23.0
> Reporter: Radim Kolar
> Priority: Critical
> Labels: freebsd
> Attachments: freebsd-native-flags-hardlink.txt,
> freebsd-native-flags.txt, freebsd-native-trunk.txt, freebsd-native.txt
>
>
> Native hadoop library do not compiles in FreeBSD because setnetgrent returns
> void and assembler do not supports SSE4 instructions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira