All of lore.kernel.org
 help / color / mirror / Atom feed
* build on centos-7 and trusty
@ 2017-12-08  5:28 kefu chai
  2017-12-08 14:36 ` Casey Bodley
  0 siblings, 1 reply; 9+ messages in thread
From: kefu chai @ 2017-12-08  5:28 UTC (permalink / raw)
  To: ceph-devel

hi developers building master and mimic-dev1 on centos-7 and/or trusty,

please use install-deps.sh to install the gcc-7 for compiling Ceph. as
from now on, we will need GCC >= 5.1 [1] for better C++11 support.

cheers,

---
[1] https://github.com/ceph/ceph/pull/19344

-- 
Regards
Kefu Chai

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: build on centos-7 and trusty
  2017-12-08  5:28 build on centos-7 and trusty kefu chai
@ 2017-12-08 14:36 ` Casey Bodley
  2017-12-08 16:16   ` Sage Weil
  0 siblings, 1 reply; 9+ messages in thread
From: Casey Bodley @ 2017-12-08 14:36 UTC (permalink / raw)
  To: kefu chai; +Cc: ceph-devel

Thanks Kefu! is there anything more we need to do before turning on -std=c++14?

On Fri, Dec 8, 2017 at 12:28 AM, kefu chai <tchaikov@gmail.com> wrote:
> hi developers building master and mimic-dev1 on centos-7 and/or trusty,
>
> please use install-deps.sh to install the gcc-7 for compiling Ceph. as
> from now on, we will need GCC >= 5.1 [1] for better C++11 support.
>
> cheers,
>
> ---
> [1] https://github.com/ceph/ceph/pull/19344
>
> --
> Regards
> Kefu Chai
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: build on centos-7 and trusty
  2017-12-08 14:36 ` Casey Bodley
@ 2017-12-08 16:16   ` Sage Weil
  2017-12-08 16:58     ` kefu chai
  0 siblings, 1 reply; 9+ messages in thread
From: Sage Weil @ 2017-12-08 16:16 UTC (permalink / raw)
  To: Casey Bodley; +Cc: kefu chai, ceph-devel

On Fri, 8 Dec 2017, Casey Bodley wrote:
> Thanks Kefu! is there anything more we need to do before turning on -std=c++14?

Have we addressed the aarch64 build question?  Is a sufficiently new 
toolchain available?

sage


> 
> On Fri, Dec 8, 2017 at 12:28 AM, kefu chai <tchaikov@gmail.com> wrote:
> > hi developers building master and mimic-dev1 on centos-7 and/or trusty,
> >
> > please use install-deps.sh to install the gcc-7 for compiling Ceph. as
> > from now on, we will need GCC >= 5.1 [1] for better C++11 support.
> >
> > cheers,
> >
> > ---
> > [1] https://github.com/ceph/ceph/pull/19344
> >
> > --
> > Regards
> > Kefu Chai
> > --
> > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: build on centos-7 and trusty
  2017-12-08 16:16   ` Sage Weil
@ 2017-12-08 16:58     ` kefu chai
  2017-12-08 17:11       ` kefu chai
  2017-12-08 17:11       ` Adam C. Emerson
  0 siblings, 2 replies; 9+ messages in thread
From: kefu chai @ 2017-12-08 16:58 UTC (permalink / raw)
  To: Sage Weil; +Cc: Casey Bodley, ceph-devel

On Sat, Dec 9, 2017 at 12:16 AM, Sage Weil <sage@newdream.net> wrote:
> On Fri, 8 Dec 2017, Casey Bodley wrote:
>> Thanks Kefu! is there anything more we need to do before turning on -std=c++14?

not sure, i will check the C++14 support of GCC-6.

>
> Have we addressed the aarch64 build question?  Is a sufficiently new
> toolchain available?

i am copying the my reply on https://github.com/ceph/ceph/pull/19403 here:

sadly, centos community does not have SCL repo ready for aarch64:
http://mirror.centos.org/centos/7/sclo/: x86_64 only. and the testing
repo only has devtools-6, see
https://buildlogs.centos.org/centos/7/sclo/aarch64/rh/, the
https://buildlogs.centos.org/centos/7/sclo/aarch64/rh/devtoolset-7/ is
empty!

but RHEL does have the support for developer toolset of aarch64, see
https://developers.redhat.com/blog/2017/10/25/announcing-release-software-collections-developer-toolset-new-compilers/

> New architecture support
>
> In recognition that different CPU architectures solve different IT problems, Red Hat is now supporting additional architectures as part of Red Hat Software Collections 3. In addition to x86_64, the curated, supported components in Red Hat Software Collections 3 and Red Hat Developer Toolset 7 are now available across 64-bit ARM architecture (aarch64), IBM z Systems and IBM Power, little endian. This extends the ability of IT organizations to build supported enterprise applications using the latest stable open source tools on the architecture that meets their unique needs.
>

so, if we have the luxury to use RHEL for building aarch64 binaries,
we are good. if all we have is CentOS, either we need to build the DTS
by ourselves, or we should stick with GCC-6.

<strike>also, i have not reached out to centos community on this.
probably i am just missing something.</strike>

i just found this:
https://lists.centos.org/pipermail/arm-dev/2016-July/002247.html, and
https://bugs.centos.org/view.php?id=14078&nbn=1

>
> sage
>
>
>>
>> On Fri, Dec 8, 2017 at 12:28 AM, kefu chai <tchaikov@gmail.com> wrote:
>> > hi developers building master and mimic-dev1 on centos-7 and/or trusty,
>> >
>> > please use install-deps.sh to install the gcc-7 for compiling Ceph. as
>> > from now on, we will need GCC >= 5.1 [1] for better C++11 support.
>> >
>> > cheers,
>> >
>> > ---
>> > [1] https://github.com/ceph/ceph/pull/19344
>> >
>> > --
>> > Regards
>> > Kefu Chai
>> > --
>> > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> > the body of a message to majordomo@vger.kernel.org
>> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>



-- 
Regards
Kefu Chai

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: build on centos-7 and trusty
  2017-12-08 16:58     ` kefu chai
@ 2017-12-08 17:11       ` kefu chai
  2017-12-09  9:55         ` kefu chai
  2017-12-08 17:11       ` Adam C. Emerson
  1 sibling, 1 reply; 9+ messages in thread
From: kefu chai @ 2017-12-08 17:11 UTC (permalink / raw)
  To: Sage Weil; +Cc: Casey Bodley, ceph-devel

On Sat, Dec 9, 2017 at 12:58 AM, kefu chai <tchaikov@gmail.com> wrote:
> On Sat, Dec 9, 2017 at 12:16 AM, Sage Weil <sage@newdream.net> wrote:
>> On Fri, 8 Dec 2017, Casey Bodley wrote:
>>> Thanks Kefu! is there anything more we need to do before turning on -std=c++14?
>
> not sure, i will check the C++14 support of GCC-6.

also i need to confirm that the generated binaries do not require the
libstdc++ symbols not offered by the libstdc++ shipped by xenial
first.

>
>>
>> Have we addressed the aarch64 build question?  Is a sufficiently new
>> toolchain available?

forgot to mention, yes. that's GCC-6.

>
> i am copying the my reply on https://github.com/ceph/ceph/pull/19403 here:
>
> sadly, centos community does not have SCL repo ready for aarch64:
> http://mirror.centos.org/centos/7/sclo/: x86_64 only. and the testing
> repo only has devtools-6, see
> https://buildlogs.centos.org/centos/7/sclo/aarch64/rh/, the
> https://buildlogs.centos.org/centos/7/sclo/aarch64/rh/devtoolset-7/ is
> empty!
>
> but RHEL does have the support for developer toolset of aarch64, see
> https://developers.redhat.com/blog/2017/10/25/announcing-release-software-collections-developer-toolset-new-compilers/
>
>> New architecture support
>>
>> In recognition that different CPU architectures solve different IT problems, Red Hat is now supporting additional architectures as part of Red Hat Software Collections 3. In addition to x86_64, the curated, supported components in Red Hat Software Collections 3 and Red Hat Developer Toolset 7 are now available across 64-bit ARM architecture (aarch64), IBM z Systems and IBM Power, little endian. This extends the ability of IT organizations to build supported enterprise applications using the latest stable open source tools on the architecture that meets their unique needs.
>>
>
> so, if we have the luxury to use RHEL for building aarch64 binaries,
> we are good. if all we have is CentOS, either we need to build the DTS
> by ourselves, or we should stick with GCC-6.
>
> <strike>also, i have not reached out to centos community on this.
> probably i am just missing something.</strike>
>
> i just found this:
> https://lists.centos.org/pipermail/arm-dev/2016-July/002247.html, and
> https://bugs.centos.org/view.php?id=14078&nbn=1
>
>>
>> sage
>>
>>
>>>
>>> On Fri, Dec 8, 2017 at 12:28 AM, kefu chai <tchaikov@gmail.com> wrote:
>>> > hi developers building master and mimic-dev1 on centos-7 and/or trusty,
>>> >
>>> > please use install-deps.sh to install the gcc-7 for compiling Ceph. as
>>> > from now on, we will need GCC >= 5.1 [1] for better C++11 support.
>>> >
>>> > cheers,
>>> >
>>> > ---
>>> > [1] https://github.com/ceph/ceph/pull/19344
>>> >
>>> > --
>>> > Regards
>>> > Kefu Chai
>>> > --
>>> > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>> > the body of a message to majordomo@vger.kernel.org
>>> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>>>
>
>
>
> --
> Regards
> Kefu Chai



-- 
Regards
Kefu Chai

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: build on centos-7 and trusty
  2017-12-08 16:58     ` kefu chai
  2017-12-08 17:11       ` kefu chai
@ 2017-12-08 17:11       ` Adam C. Emerson
  1 sibling, 0 replies; 9+ messages in thread
From: Adam C. Emerson @ 2017-12-08 17:11 UTC (permalink / raw)
  To: kefu chai; +Cc: Sage Weil, Casey Bodley, ceph-devel

On 09/12/2017, kefu chai wrote:
> not sure, i will check the C++14 support of GCC-6.

The feature matrix says it does, and I've used GCC6 for C++14, so that should be fine.

> so, if we have the luxury to use RHEL for building aarch64 binaries,
> we are good. if all we have is CentOS, either we need to build the DTS
> by ourselves, or we should stick with GCC-6.

This would be great if we could swing it.

> <strike>also, i have not reached out to centos community on this.
> probably i am just missing something.</strike>
> 
> i just found this:
> https://lists.centos.org/pipermail/arm-dev/2016-July/002247.html, and
> https://bugs.centos.org/view.php?id=14078&nbn=1

Would it be worth chiming in and saying we as a project would make active
use of it?

-- 
Senior Software Engineer           Red Hat Storage, Ann Arbor, MI, US
IRC: Aemerson@OFTC, Actinic@Freenode
0x80F7544B90EDBFB9 E707 86BA 0C1B 62CC 152C  7C12 80F7 544B 90ED BFB9

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: build on centos-7 and trusty
  2017-12-08 17:11       ` kefu chai
@ 2017-12-09  9:55         ` kefu chai
  2017-12-09  9:57           ` kefu chai
  0 siblings, 1 reply; 9+ messages in thread
From: kefu chai @ 2017-12-09  9:55 UTC (permalink / raw)
  To: Sage Weil; +Cc: Casey Bodley, ceph-devel

On Sat, Dec 9, 2017 at 1:11 AM, kefu chai <tchaikov@gmail.com> wrote:
> On Sat, Dec 9, 2017 at 12:58 AM, kefu chai <tchaikov@gmail.com> wrote:
>> On Sat, Dec 9, 2017 at 12:16 AM, Sage Weil <sage@newdream.net> wrote:
>>> On Fri, 8 Dec 2017, Casey Bodley wrote:
>>>> Thanks Kefu! is there anything more we need to do before turning on -std=c++14?
>>
>> not sure, i will check the C++14 support of GCC-6.
>
> also i need to confirm that the generated binaries do not require the
> libstdc++ symbols not offered by the libstdc++ shipped by xenial
> first.

kefu@7e8e193067e5$ bin/rados
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`CXXABI_1.3.8' not found (required by bin/rados)
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`GLIBCXX_3.4.21' not found (required by bin/rados)
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`CXXABI_1.3.8' not found (required by
/var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libradosstriper.so.1)
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`GLIBCXX_3.4.22' not found (required by
/var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libradosstriper.so.1)
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`GLIBCXX_3.4.21' not found (required by
/var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libradosstriper.so.1)
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`CXXABI_1.3.8' not found (required by
/var/ceph/ceph-ubuntu-16.04-kefu/build/lib/librados.so.2)
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`GLIBCXX_3.4.22' not found (required by
/var/ceph/ceph-ubuntu-16.04-kefu/build/lib/librados.so.2)
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`GLIBCXX_3.4.21' not found (required by
/var/ceph/ceph-ubuntu-16.04-kefu/build/lib/librados.so.2)
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`CXXABI_1.3.8' not found (required by
/var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`GLIBCXX_3.4.22' not found (required by
/var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`GLIBCXX_3.4.20' not found (required by
/var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`CXXABI_1.3.9' not found (required by
/var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
`GLIBCXX_3.4.21' not found (required by
/var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)

so, we need to link against libstdc++ statically.

>
>>
>>>
>>> Have we addressed the aarch64 build question?  Is a sufficiently new
>>> toolchain available?
>
> forgot to mention, yes. that's GCC-6.
>
>>
>> i am copying the my reply on https://github.com/ceph/ceph/pull/19403 here:
>>
>> sadly, centos community does not have SCL repo ready for aarch64:
>> http://mirror.centos.org/centos/7/sclo/: x86_64 only. and the testing
>> repo only has devtools-6, see
>> https://buildlogs.centos.org/centos/7/sclo/aarch64/rh/, the
>> https://buildlogs.centos.org/centos/7/sclo/aarch64/rh/devtoolset-7/ is
>> empty!
>>
>> but RHEL does have the support for developer toolset of aarch64, see
>> https://developers.redhat.com/blog/2017/10/25/announcing-release-software-collections-developer-toolset-new-compilers/
>>
>>> New architecture support
>>>
>>> In recognition that different CPU architectures solve different IT problems, Red Hat is now supporting additional architectures as part of Red Hat Software Collections 3. In addition to x86_64, the curated, supported components in Red Hat Software Collections 3 and Red Hat Developer Toolset 7 are now available across 64-bit ARM architecture (aarch64), IBM z Systems and IBM Power, little endian. This extends the ability of IT organizations to build supported enterprise applications using the latest stable open source tools on the architecture that meets their unique needs.
>>>
>>
>> so, if we have the luxury to use RHEL for building aarch64 binaries,
>> we are good. if all we have is CentOS, either we need to build the DTS
>> by ourselves, or we should stick with GCC-6.
>>
>> <strike>also, i have not reached out to centos community on this.
>> probably i am just missing something.</strike>
>>
>> i just found this:
>> https://lists.centos.org/pipermail/arm-dev/2016-July/002247.html, and
>> https://bugs.centos.org/view.php?id=14078&nbn=1
>>
>>>
>>> sage
>>>
>>>
>>>>
>>>> On Fri, Dec 8, 2017 at 12:28 AM, kefu chai <tchaikov@gmail.com> wrote:
>>>> > hi developers building master and mimic-dev1 on centos-7 and/or trusty,
>>>> >
>>>> > please use install-deps.sh to install the gcc-7 for compiling Ceph. as
>>>> > from now on, we will need GCC >= 5.1 [1] for better C++11 support.
>>>> >
>>>> > cheers,
>>>> >
>>>> > ---
>>>> > [1] https://github.com/ceph/ceph/pull/19344
>>>> >
>>>> > --
>>>> > Regards
>>>> > Kefu Chai
>>>> > --
>>>> > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>>> > the body of a message to majordomo@vger.kernel.org
>>>> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>
>>>>
>>
>>
>>
>> --
>> Regards
>> Kefu Chai
>
>
>
> --
> Regards
> Kefu Chai



-- 
Regards
Kefu Chai

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: build on centos-7 and trusty
  2017-12-09  9:55         ` kefu chai
@ 2017-12-09  9:57           ` kefu chai
  2017-12-09 12:45             ` kefu chai
  0 siblings, 1 reply; 9+ messages in thread
From: kefu chai @ 2017-12-09  9:57 UTC (permalink / raw)
  To: Sage Weil; +Cc: Casey Bodley, ceph-devel

On Sat, Dec 9, 2017 at 5:55 PM, kefu chai <tchaikov@gmail.com> wrote:
> On Sat, Dec 9, 2017 at 1:11 AM, kefu chai <tchaikov@gmail.com> wrote:
>> On Sat, Dec 9, 2017 at 12:58 AM, kefu chai <tchaikov@gmail.com> wrote:
>>> On Sat, Dec 9, 2017 at 12:16 AM, Sage Weil <sage@newdream.net> wrote:
>>>> On Fri, 8 Dec 2017, Casey Bodley wrote:
>>>>> Thanks Kefu! is there anything more we need to do before turning on -std=c++14?
>>>
>>> not sure, i will check the C++14 support of GCC-6.
>>
>> also i need to confirm that the generated binaries do not require the
>> libstdc++ symbols not offered by the libstdc++ shipped by xenial
>> first.

bin/rados is compiled using gcc-7 on a ubuntu/xenial system:

>
> kefu@7e8e193067e5$ bin/rados
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `CXXABI_1.3.8' not found (required by bin/rados)
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `GLIBCXX_3.4.21' not found (required by bin/rados)
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `CXXABI_1.3.8' not found (required by
> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libradosstriper.so.1)
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `GLIBCXX_3.4.22' not found (required by
> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libradosstriper.so.1)
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `GLIBCXX_3.4.21' not found (required by
> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libradosstriper.so.1)
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `CXXABI_1.3.8' not found (required by
> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/librados.so.2)
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `GLIBCXX_3.4.22' not found (required by
> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/librados.so.2)
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `GLIBCXX_3.4.21' not found (required by
> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/librados.so.2)
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `CXXABI_1.3.8' not found (required by
> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `GLIBCXX_3.4.22' not found (required by
> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `GLIBCXX_3.4.20' not found (required by
> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `CXXABI_1.3.9' not found (required by
> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
> `GLIBCXX_3.4.21' not found (required by
> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
>
> so, we need to link against libstdc++ statically.
>
>>
>>>
>>>>
>>>> Have we addressed the aarch64 build question?  Is a sufficiently new
>>>> toolchain available?
>>
>> forgot to mention, yes. that's GCC-6.
>>
>>>
>>> i am copying the my reply on https://github.com/ceph/ceph/pull/19403 here:
>>>
>>> sadly, centos community does not have SCL repo ready for aarch64:
>>> http://mirror.centos.org/centos/7/sclo/: x86_64 only. and the testing
>>> repo only has devtools-6, see
>>> https://buildlogs.centos.org/centos/7/sclo/aarch64/rh/, the
>>> https://buildlogs.centos.org/centos/7/sclo/aarch64/rh/devtoolset-7/ is
>>> empty!
>>>
>>> but RHEL does have the support for developer toolset of aarch64, see
>>> https://developers.redhat.com/blog/2017/10/25/announcing-release-software-collections-developer-toolset-new-compilers/
>>>
>>>> New architecture support
>>>>
>>>> In recognition that different CPU architectures solve different IT problems, Red Hat is now supporting additional architectures as part of Red Hat Software Collections 3. In addition to x86_64, the curated, supported components in Red Hat Software Collections 3 and Red Hat Developer Toolset 7 are now available across 64-bit ARM architecture (aarch64), IBM z Systems and IBM Power, little endian. This extends the ability of IT organizations to build supported enterprise applications using the latest stable open source tools on the architecture that meets their unique needs.
>>>>
>>>
>>> so, if we have the luxury to use RHEL for building aarch64 binaries,
>>> we are good. if all we have is CentOS, either we need to build the DTS
>>> by ourselves, or we should stick with GCC-6.
>>>
>>> <strike>also, i have not reached out to centos community on this.
>>> probably i am just missing something.</strike>
>>>
>>> i just found this:
>>> https://lists.centos.org/pipermail/arm-dev/2016-July/002247.html, and
>>> https://bugs.centos.org/view.php?id=14078&nbn=1
>>>
>>>>
>>>> sage
>>>>
>>>>
>>>>>
>>>>> On Fri, Dec 8, 2017 at 12:28 AM, kefu chai <tchaikov@gmail.com> wrote:
>>>>> > hi developers building master and mimic-dev1 on centos-7 and/or trusty,
>>>>> >
>>>>> > please use install-deps.sh to install the gcc-7 for compiling Ceph. as
>>>>> > from now on, we will need GCC >= 5.1 [1] for better C++11 support.
>>>>> >
>>>>> > cheers,
>>>>> >
>>>>> > ---
>>>>> > [1] https://github.com/ceph/ceph/pull/19344
>>>>> >
>>>>> > --
>>>>> > Regards
>>>>> > Kefu Chai
>>>>> > --
>>>>> > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>>>> > the body of a message to majordomo@vger.kernel.org
>>>>> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>> --
>>>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>>>> the body of a message to majordomo@vger.kernel.org
>>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>>
>>>>>
>>>
>>>
>>>
>>> --
>>> Regards
>>> Kefu Chai
>>
>>
>>
>> --
>> Regards
>> Kefu Chai
>
>
>
> --
> Regards
> Kefu Chai



-- 
Regards
Kefu Chai

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: build on centos-7 and trusty
  2017-12-09  9:57           ` kefu chai
@ 2017-12-09 12:45             ` kefu chai
  0 siblings, 0 replies; 9+ messages in thread
From: kefu chai @ 2017-12-09 12:45 UTC (permalink / raw)
  To: Sage Weil; +Cc: Casey Bodley, ceph-devel

On Sat, Dec 9, 2017 at 5:57 PM, kefu chai <tchaikov@gmail.com> wrote:
> On Sat, Dec 9, 2017 at 5:55 PM, kefu chai <tchaikov@gmail.com> wrote:
>> On Sat, Dec 9, 2017 at 1:11 AM, kefu chai <tchaikov@gmail.com> wrote:
>>> On Sat, Dec 9, 2017 at 12:58 AM, kefu chai <tchaikov@gmail.com> wrote:
>>>> On Sat, Dec 9, 2017 at 12:16 AM, Sage Weil <sage@newdream.net> wrote:
>>>>> On Fri, 8 Dec 2017, Casey Bodley wrote:
>>>>>> Thanks Kefu! is there anything more we need to do before turning on -std=c++14?
>>>>
>>>> not sure, i will check the C++14 support of GCC-6.
>>>
>>> also i need to confirm that the generated binaries do not require the
>>> libstdc++ symbols not offered by the libstdc++ shipped by xenial
>>> first.
>
> bin/rados is compiled using gcc-7 on a ubuntu/xenial system:
>
>>
>> kefu@7e8e193067e5$ bin/rados
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `CXXABI_1.3.8' not found (required by bin/rados)
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `GLIBCXX_3.4.21' not found (required by bin/rados)
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `CXXABI_1.3.8' not found (required by
>> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libradosstriper.so.1)
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `GLIBCXX_3.4.22' not found (required by
>> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libradosstriper.so.1)
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `GLIBCXX_3.4.21' not found (required by
>> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libradosstriper.so.1)
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `CXXABI_1.3.8' not found (required by
>> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/librados.so.2)
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `GLIBCXX_3.4.22' not found (required by
>> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/librados.so.2)
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `GLIBCXX_3.4.21' not found (required by
>> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/librados.so.2)
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `CXXABI_1.3.8' not found (required by
>> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `GLIBCXX_3.4.22' not found (required by
>> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `GLIBCXX_3.4.20' not found (required by
>> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `CXXABI_1.3.9' not found (required by
>> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
>> bin/rados: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version
>> `GLIBCXX_3.4.21' not found (required by
>> /var/ceph/ceph-ubuntu-16.04-kefu/build/lib/libceph-common.so.0)
>>
>> so, we need to link against libstdc++ statically.

https://github.com/ceph/ceph/pull/19418 and
https://github.com/ceph/ceph-build/pull/936 should address this.

>>
>>>
>>>>
>>>>>
>>>>> Have we addressed the aarch64 build question?  Is a sufficiently new
>>>>> toolchain available?
>>>
>>> forgot to mention, yes. that's GCC-6.
>>>
>>>>
>>>> i am copying the my reply on https://github.com/ceph/ceph/pull/19403 here:
>>>>
>>>> sadly, centos community does not have SCL repo ready for aarch64:
>>>> http://mirror.centos.org/centos/7/sclo/: x86_64 only. and the testing
>>>> repo only has devtools-6, see
>>>> https://buildlogs.centos.org/centos/7/sclo/aarch64/rh/, the
>>>> https://buildlogs.centos.org/centos/7/sclo/aarch64/rh/devtoolset-7/ is
>>>> empty!
>>>>
>>>> but RHEL does have the support for developer toolset of aarch64, see
>>>> https://developers.redhat.com/blog/2017/10/25/announcing-release-software-collections-developer-toolset-new-compilers/
>>>>
>>>>> New architecture support
>>>>>
>>>>> In recognition that different CPU architectures solve different IT problems, Red Hat is now supporting additional architectures as part of Red Hat Software Collections 3. In addition to x86_64, the curated, supported components in Red Hat Software Collections 3 and Red Hat Developer Toolset 7 are now available across 64-bit ARM architecture (aarch64), IBM z Systems and IBM Power, little endian. This extends the ability of IT organizations to build supported enterprise applications using the latest stable open source tools on the architecture that meets their unique needs.
>>>>>
>>>>
>>>> so, if we have the luxury to use RHEL for building aarch64 binaries,
>>>> we are good. if all we have is CentOS, either we need to build the DTS
>>>> by ourselves, or we should stick with GCC-6.
>>>>
>>>> <strike>also, i have not reached out to centos community on this.
>>>> probably i am just missing something.</strike>
>>>>
>>>> i just found this:
>>>> https://lists.centos.org/pipermail/arm-dev/2016-July/002247.html, and
>>>> https://bugs.centos.org/view.php?id=14078&nbn=1
>>>>
>>>>>
>>>>> sage
>>>>>
>>>>>
>>>>>>
>>>>>> On Fri, Dec 8, 2017 at 12:28 AM, kefu chai <tchaikov@gmail.com> wrote:
>>>>>> > hi developers building master and mimic-dev1 on centos-7 and/or trusty,
>>>>>> >
>>>>>> > please use install-deps.sh to install the gcc-7 for compiling Ceph. as
>>>>>> > from now on, we will need GCC >= 5.1 [1] for better C++11 support.
>>>>>> >
>>>>>> > cheers,
>>>>>> >
>>>>>> > ---
>>>>>> > [1] https://github.com/ceph/ceph/pull/19344
>>>>>> >
>>>>>> > --
>>>>>> > Regards
>>>>>> > Kefu Chai
>>>>>> > --
>>>>>> > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>>>>> > the body of a message to majordomo@vger.kernel.org
>>>>>> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>>> --
>>>>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>>>>> the body of a message to majordomo@vger.kernel.org
>>>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards
>>>> Kefu Chai
>>>
>>>
>>>
>>> --
>>> Regards
>>> Kefu Chai
>>
>>
>>
>> --
>> Regards
>> Kefu Chai
>
>
>
> --
> Regards
> Kefu Chai



-- 
Regards
Kefu Chai

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-12-09 12:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-08  5:28 build on centos-7 and trusty kefu chai
2017-12-08 14:36 ` Casey Bodley
2017-12-08 16:16   ` Sage Weil
2017-12-08 16:58     ` kefu chai
2017-12-08 17:11       ` kefu chai
2017-12-09  9:55         ` kefu chai
2017-12-09  9:57           ` kefu chai
2017-12-09 12:45             ` kefu chai
2017-12-08 17:11       ` Adam C. Emerson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.