hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Vasudev (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MAPREDUCE-6810) hadoop-mapreduce-client-nativetask compilation broken on GCC-6.2.1
Date Fri, 25 Nov 2016 06:04:58 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-6810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15694936#comment-15694936
] 

Varun Vasudev edited comment on MAPREDUCE-6810 at 11/25/16 6:04 AM:
--------------------------------------------------------------------

The patch looks good to me. I'll try to setup a VM and see if the tests pass for me as well.


was (Author: vvasudev):
+1. I'll commit this on Monday if no one objects.

> hadoop-mapreduce-client-nativetask compilation broken on GCC-6.2.1
> ------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6810
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6810
>             Project: Hadoop Map/Reduce
>          Issue Type: Task
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>         Attachments: MAPREDUCE-6810.01.patch
>
>
> I recently upgraded from Fedora 22 to Fedora 25 (I'm assuming this means the latest and
greatest compilers, cmake etc.) My trunk build failed with this error:
> {code}
> [WARNING] /home/raviprak/Code/hadoop/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/src/lib/Log.h:35:67:
error: unable to find string literal operator ‘operator""_fmt_’ with ‘const char [37]’,
‘long unsigned int’ arguments
> [WARNING]      fprintf(LOG_DEVICE, "%02d/%02d/%02d %02d:%02d:%02d INFO "_fmt_"\n", \
> {code}
> https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/3/html/User_Guide/sect-Changes_in_Version_3.0-GCC.html
> bq.This applies to any string literal followed without white space by some macro. To
fix this, add some white space between the string literal and the macro name. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message