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

UENISHI Kota commented on MESOS-5979:
-------------------------------------

As Kevin commented on the review board, upstream ELFIO has our wanted change - 
just updating it looks good to me, without adding further tests. I wonder what 
kind of tests are suitable for this type of build issue, esp. on Windows.

> elfio-3.1.patch is actually not applied
> ---------------------------------------
>
>                 Key: MESOS-5979
>                 URL: https://issues.apache.org/jira/browse/MESOS-5979
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>         Environment: Linux with Nvidia GPU
>            Reporter: UENISHI Kota
>         Attachments: apply-elfio-patch.patch
>
>
> This does not affect any released version, but affects the HEAD of 1.0.x 
> branch and any commit after 89cfa6e. Due to this, mesos-agent will never be 
> able start up when it tries to recognize GPU library that has .note.ABI-tag. 
> The patch is tiny; I'll follow up with Review Board if needed.
> {code}
> $ cat ../apply-elfio-patch.patch 
> diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt
> index b966e58..6dac5bd 100755
> --- a/3rdparty/CMakeLists.txt
> +++ b/3rdparty/CMakeLists.txt
> @@ -96,6 +96,8 @@ if (NOT WIN32)
>    # under the C++11 standard. cf. MESOS-860, MESOS-966.
>    PATCH_CMD(${MESOS_3RDPARTY_SRC}/glog-0.3.3.patch GLOG_PATCH_CMD)
>  
> +  PATCH_CMD(${MESOS_3RDPARTY_SRC}/elfio-3.1.patch ELFIO_PATCH_CMD)
> +
>    # NOTE: `libev` is "installed" into a lib directory, see "NOTE: (fix for
>    # MESOS-3250)" comment above for explanation.
>    set(LIBEV_CONFIG_CMD  ${LIBEV_ROOT}/configure --prefix=${LIBEV_ROOT}-lib)
> @@ -153,6 +155,7 @@ ExternalProject_Add(
>  ExternalProject_Add(
>    ${ELFIO_TARGET}
>    PREFIX            ${ELFIO_CMAKE_ROOT}
> +  PATCH_COMMAND     ${ELFIO_PATCH_CMD}
>    CONFIGURE_COMMAND ${CMAKE_NOOP}
>    BUILD_COMMAND     ${CMAKE_NOOP}
>    INSTALL_COMMAND   ${CMAKE_NOOP}
> {code}



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

Reply via email to