commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian Le (JIRA)" <>
Subject [jira] [Commented] (DAEMON-321) Support the zLinux system
Date Fri, 11 Jul 2014 22:25:05 GMT


Jian Le commented on DAEMON-321:

Hi Emmanuel,

Here is what I see inside the /commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4

    CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""

I tried your approach and it worked on zLinux as well.  If I do not make any changes to the
apsupport.m4 file, I get:

[biadmin@svlxbgi2 unix]$ ./support/
./support/ configure script generated successfully
[biadmin@svlxbgi2 unix]$ ./configure --with-java=/opt/ibm/java-s390x-70
*** Current host ***
checking build system type... s390x-ibm-linux-gnu
checking host system type... s390x-ibm-linux-gnu
checking cached host system type... ok
*** C-Language compilation tools ***
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for strip... strip
*** Host support ***
checking C flags dependant on host system type... failed
configure: error: Unsupported CPU architecture "s390x"


On Friday, July 11, 2014 7:05 AM, Emmanuel Bourg (JIRA) <> wrote:


Emmanuel Bourg commented on DAEMON-321:

Hi Jian, I thought we already supported s390x, see:

  s390 | s390x)
    CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""

This change was taken from the Debian package and it seems to build:

Is it correct for you?

This message was sent by Atlassian JIRA

> Support the zLinux system
> -------------------------
>                 Key: DAEMON-321
>                 URL:
>             Project: Commons Daemon
>          Issue Type: New Feature
>          Components: Jsvc
>    Affects Versions: 1.0.15
>         Environment: zLinux systems
>            Reporter: Jian Le
>              Labels: features
>             Fix For: 1.0.16
>   Original Estimate: 5m
>  Remaining Estimate: 5m
> We just need to add 5 lines into the /commons-daemon-1.0.16-src/src/native/unix/support/apsupport.m4
> s390x)
>     CFLAGS="$CFLAGS -DCPU=\\\"s390x\\\""
>     supported_os="s390x"
>     HOST_CPU=s390x
>     ;;
> Preferably right after the s390 platform.   

This message was sent by Atlassian JIRA

View raw message