[gentoo-dev] [PATCH] cmake-utils.eclass: Extend ASM rules to ASM-ATT
Some CMake projects use ASM-ATT rather than ASM, so extend our rule overrides to that. Bug: https://bugs.gentoo.org/625844 --- eclass/cmake-utils.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index b9f69a824b14..ef3f3c2607f8 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -516,6 +516,7 @@ cmake-utils_src_configure() { fi cat > "${build_rules}" <<- _EOF_ || die SET (CMAKE_ASM_COMPILE_OBJECT " ${includes} ${CPPFLAGS} -o -c " CACHE STRING "ASM compile command" FORCE) + SET (CMAKE_ASM-ATT_COMPILE_OBJECT " ${includes} ${CPPFLAGS} -o -c " CACHE STRING "ASM compile command" FORCE) SET (CMAKE_C_COMPILE_OBJECT " ${includes} ${CPPFLAGS} -o -c " CACHE STRING "C compile command" FORCE) SET (CMAKE_CXX_COMPILE_OBJECT " ${includes} ${CPPFLAGS} -o -c " CACHE STRING "C++ compile command" FORCE) SET (CMAKE_Fortran_COMPILE_OBJECT " ${includes} ${FCFLAGS} -o -c " CACHE STRING "Fortran compile command" FORCE) @@ -531,6 +532,7 @@ cmake-utils_src_configure() { local toolchain_file=${BUILD_DIR}/gentoo_toolchain.cmake cat > ${toolchain_file} <<- _EOF_ || die SET (CMAKE_ASM_COMPILER "${myCC/ /;}") + SET (CMAKE_ASM-ATT_COMPILER "${myCC/ /;}") SET (CMAKE_C_COMPILER "${myCC/ /;}") SET (CMAKE_CXX_COMPILER "${myCXX/ /;}") SET (CMAKE_Fortran_COMPILER "${myFC/ /;}") @@ -609,6 +611,7 @@ cmake-utils_src_configure() { if [[ ${CMAKE_BUILD_TYPE} != Gentoo && ${EAPI} != 5 ]]; then cat >> ${common_config} <<- _EOF_ || die SET (CMAKE_ASM_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE STRING "") + SET (CMAKE_ASM-ATT_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE STRING "") SET (CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE STRING "") SET (CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE STRING "") SET (CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE STRING "") -- 2.16.2
Re: [gentoo-dev] glibc 2.16/19 for Gentoo Prefix on antique kernels
W dniu nie, 25.02.2018 o godzinie 15∶17 +0900, użytkownik Benda Xu napisał: > Hi all, > > Yes, it's 2018. But there are still RHEL 4 and 5 systems running > antique kernels such as 2.6.8 and 2.6.18. In my experience, many of > them are data acquisition hubs or computing clusters. No administrator > cares about security as long as they "work". > > Under the form "Prefix", Gentoo is set out to rescue users trapped in > these abandoned wastelands of antiques. After years of work, we have > achieved that goal, except one minor thing: glibc periodically drop > support for old linux kernels, the lastest glibc supporting linux 2.6.8 > is 2.16 and for linux-2.6.18 it is glibc-2.19. > > With the recent reunion of the Toolchain Project, old glibc versions are > masked and removed, accelerating the adoption of new versions. This > opens a new oppotunity for the Prefix: people stops caring about > unsupported glibc versions, the Prefix Project can take them over > without worrying about breaking other peoples' machines. > > Now, profiles/default/linux/amd64/17.0/no-multilib/prefix/kernel-2.6.16+ > unmasks /lib/gentoo/functions.sh transition. prefix/kernel-2.6+ with glibc-2.16 > is also planned. In addition, glibc have to be patched to get python3 > built[1-3], which is urgent once portage drops python2[4]. > > > So I would like to hear what you guys think if I: > > - keep glibc-2.19 and glibc-2.16 in tree and unmasking them in the > selected Prefix profiles; > > - maintain those selected outdated glibc versions on the > infrastructure of the Toolchain Project[5]; > > - (optional) add an exception to the toolchain support policy[6]. How about moving them to an overlay? > > Thanks and cheers! > Benda > > 1. https://bugs.python.org/issue28092 > 2. https://bugs.python.org/issue31255 > 3. https://bugs.python.org/issue29157 > 4. > https://archives.gentoo.org/gentoo-project/message/7eb61502d827476a9326b0f180dbd2fa > 5. https://wiki.gentoo.org/wiki/Project:Toolchain/Patchsets_with_Git > 6. https://wiki.gentoo.org/wiki/Project:Toolchain/Support_policies > -- Best regards, Michał Górny
Re: [gentoo-dev] glibc 2.16/19 for Gentoo Prefix on antique kernels
Hi Michał, Michał Górny writes: >> So I would like to hear what you guys think if I: >> >> - keep glibc-2.19 and glibc-2.16 in tree and unmasking them in the >> selected Prefix profiles; >> >> - maintain those selected outdated glibc versions on the >> infrastructure of the Toolchain Project[5]; >> >> - (optional) add an exception to the toolchain support policy[6]. > > How about moving them to an overlay? I have reflected on this option and concluded it is an overkill to create an overlay for only 1 package. Yours, Benda
Re: [gentoo-dev] glibc 2.16/19 for Gentoo Prefix on antique kernels
W dniu nie, 25.02.2018 o godzinie 18∶25 +0900, użytkownik Benda Xu napisał: > Hi Michał, > > Michał Górny writes: > > > > So I would like to hear what you guys think if I: > > > > > > - keep glibc-2.19 and glibc-2.16 in tree and unmasking them in the > > > selected Prefix profiles; > > > > > > - maintain those selected outdated glibc versions on the > > > infrastructure of the Toolchain Project[5]; > > > > > > - (optional) add an exception to the toolchain support policy[6]. > > > > How about moving them to an overlay? > > I have reflected on this option and concluded it is an overkill to > create an overlay for only 1 package. > I don't think this is the first old version Prefix team needs keeping. Another example are old versions of LLVM. -- Best regards, Michał Górny
Re: [gentoo-dev] glibc 2.16/19 for Gentoo Prefix on antique kernels
Hi Michał, Michał Górny writes: > I don't think this is the first old version Prefix team needs keeping. > Another example are old versions of LLVM. I am sure you are aware that Prefix has two variants: one is prefix-rpath targeting MacOS, Solaris, AIX, Cygwin, Interix and a subset of GNU/Linux; the other is prefix-standalone, targeting GNU/Linux and Android/Linux.[1] For LLVM example, it is prefix-rpath, which hosts its own overlay at repo/proj/prefix.git. Besides LLVM there are other hacks at present in the overlay. But we still keep the ultimate goal of merging prefix.git into gentoo.git. What we are discussing in this thread, however, is prefix-standalone, it uses the official gentoo repository without any overlay. It works perfectly for kernel-2.6.26+ and linux-3.2+. So, creating an overlay of 2 ebuilds for prefix-standalone is an overkill. Yours, Benda 1. https://wiki.gentoo.org/wiki/Project:Prefix
Re: [gentoo-dev] [PATCH] cmake-utils.eclass: Extend ASM rules to ASM-ATT
2018-02-25 10:06 GMT+01:00 Michał Górny : > Some CMake projects use ASM-ATT rather than ASM, so extend our rule > overrides to that. > for the curious: https://cmake.org/Wiki/CMake/Assembler#ASM-ATT ASM-ATT This can be used for assembler files in AT&T assembler syntax. This includes the GNU assembler gas. - Supported assembler names: as, gas, may have toolchain specific prefix - Supported source files extensions: .s, .asm - .S files, i.e. assembler files which require preprocessing, are not supported - Involved files: CMakeASM-ATTInformation.cmake, CMakeDetermineASM-ATTCompiler.cmake, CMakeTestASM-ATTCompiler.cmake > > Bug: https://bugs.gentoo.org/625844 > --- > eclass/cmake-utils.eclass | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass > index b9f69a824b14..ef3f3c2607f8 100644 > --- a/eclass/cmake-utils.eclass > +++ b/eclass/cmake-utils.eclass > @@ -516,6 +516,7 @@ cmake-utils_src_configure() { > fi > cat > "${build_rules}" <<- _EOF_ || die > SET (CMAKE_ASM_COMPILE_OBJECT " > ${includes} ${CPPFLAGS} -o -c " CACHE > STRING "ASM compile command" FORCE) > + SET (CMAKE_ASM-ATT_COMPILE_OBJECT " > ${includes} ${CPPFLAGS} -o -c " CACHE > STRING "ASM compile command" FORCE) > SET (CMAKE_C_COMPILE_OBJECT " > ${includes} ${CPPFLAGS} -o -c " CACHE STRING "C > compile command" FORCE) > SET (CMAKE_CXX_COMPILE_OBJECT " > ${includes} ${CPPFLAGS} -o -c " CACHE > STRING "C++ compile command" FORCE) > SET (CMAKE_Fortran_COMPILE_OBJECT > " ${includes} ${FCFLAGS} -o > -c " CACHE STRING "Fortran compile command" FORCE) > @@ -531,6 +532,7 @@ cmake-utils_src_configure() { > local toolchain_file=${BUILD_DIR}/gentoo_toolchain.cmake > cat > ${toolchain_file} <<- _EOF_ || die > SET (CMAKE_ASM_COMPILER "${myCC/ /;}") > + SET (CMAKE_ASM-ATT_COMPILER "${myCC/ /;}") > SET (CMAKE_C_COMPILER "${myCC/ /;}") > SET (CMAKE_CXX_COMPILER "${myCXX/ /;}") > SET (CMAKE_Fortran_COMPILER "${myFC/ /;}") > @@ -609,6 +611,7 @@ cmake-utils_src_configure() { > if [[ ${CMAKE_BUILD_TYPE} != Gentoo && ${EAPI} != 5 ]]; then > cat >> ${common_config} <<- _EOF_ || die > SET (CMAKE_ASM_FLAGS_${CMAKE_BUILD_TYPE^^} "" > CACHE STRING "") > + SET (CMAKE_ASM-ATT_FLAGS_${CMAKE_BUILD_TYPE^^} "" > CACHE STRING "") > SET (CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE > STRING "") > SET (CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE^^} "" > CACHE STRING "") > SET (CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE^^} "" > CACHE STRING "") > -- > 2.16.2 > > >
[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2018-02-25 23:59 UTC
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2018-02-25 23:59 UTC. Removals: app-emulation/qtemu 20180221-21:05 asturm e0c7dd5eac7 dev-libs/libindicate-qt 20180221-23:55 asturm 353f49a4745 dev-ruby/camping 20180224-08:44 graaff a5e25f8c15c dev-ruby/mongo 20180224-08:44 graaff dd7b38ec20b dev-ruby/net-ssh-multi 20180224-08:44 graaff b0d86ca5a13 dev-ruby/rbtree 20180224-08:45 graaff fb8c8d6110f dev-ruby/right_http_connection 20180224-08:45 graaff 6b58d19f1a4 dev-ruby/snmplib 20180224-08:45 graaff 399e1e9d79f virtual/ruby-minitest20180224-08:46 graaff 112676f4d1f www-apps/jekyll-gist 20180224-08:46 graaff b2a96600255 Additions: app-admin/elasticsearch_exporter 20180220-20:52 mrueg 734bdefbd48 app-admin/kubectx20180220-17:31 mrueg 94bceff80e9 app-shells/fzy 20180211-21:30 monsieurp b0bc8f3423f dev-python/os-service-types 20180224-04:42 prometheanfire 9c7e0b29cdc dev-python/pyFFTW20180219-16:45 zerochaos 520a1341018 dev-python/python-octaviaclient 20180224-07:17 prometheanfire ef2249b7fe2 dev-python/simplesoapy 20180219-16:46 zerochaos 612ee967cec dev-python/simplespectral20180219-16:47 zerochaos b383e139723 dev-util/uftrace 20180219-15:52 mrueg c32161a1655 media-video/dvd_info 20180223-00:21 beandog d6b8d94ac7f net-analyzer/sngrep 20180220-07:27 jer cab50b4f6fe net-misc/ntpsec 20180223-22:53 nerdboy 99c380a6547 net-wireless/soapybladerf20180219-16:50 zerochaos dce16c98789 net-wireless/soapyhackrf 20180219-16:49 zerochaos c7517743c6a net-wireless/soapy_power 20180219-16:51 zerochaos 9a5e1b8399e net-wireless/soapyrtlsdr 20180219-16:49 zerochaos 8e2b5cbf7d6 net-wireless/soapysdr20180219-16:50 zerochaos 8d81387a5e6 net-wireless/soapyuhd20180219-16:48 zerochaos 979c6f51ad2 sci-physics/vgm 20180121-16:35 monsieurp 44e267976ac sys-apps/thunderbolt-software-user-space 20180220-17:29 monsieurp 68d4b4f7e4b www-misc/buku20171210-17:15 monsieurp 31543699451 x11-terms/cool-retro-term20180219-22:37 slyfox 26568447189 -- Robin Hugh Johnson Gentoo Linux Developer E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 Removed Packages: www-apps/jekyll-gist,removed,graaff,20180224-08:46,b2a96600255 virtual/ruby-minitest,removed,graaff,20180224-08:46,112676f4d1f dev-ruby/snmplib,removed,graaff,20180224-08:45,399e1e9d79f dev-ruby/right_http_connection,removed,graaff,20180224-08:45,6b58d19f1a4 dev-ruby/rbtree,removed,graaff,20180224-08:45,fb8c8d6110f dev-ruby/net-ssh-multi,removed,graaff,20180224-08:44,b0d86ca5a13 dev-ruby/mongo,removed,graaff,20180224-08:44,dd7b38ec20b dev-ruby/camping,removed,graaff,20180224-08:44,a5e25f8c15c dev-libs/libindicate-qt,removed,asturm,20180221-23:55,353f49a4745 app-emulation/qtemu,removed,asturm,20180221-21:05,e0c7dd5eac7 Added Packages: dev-python/python-octaviaclient,added,prometheanfire,20180224-07:17,ef2249b7fe2 dev-python/os-service-types,added,prometheanfire,20180224-04:42,9c7e0b29cdc net-misc/ntpsec,added,nerdboy,20180223-22:53,99c380a6547 media-video/dvd_info,added,beandog,20180223-00:21,d6b8d94ac7f www-misc/buku,added,monsieurp,20171210-17:15,31543699451 sys-apps/thunderbolt-software-user-space,added,monsieurp,20180220-17:29,68d4b4f7e4b app-shells/fzy,added,monsieurp,20180211-21:30,b0bc8f3423f app-admin/elasticsearch_exporter,added,mrueg,20180220-20:52,734bdefbd48 sci-physics/vgm,added,monsieurp,20180121-16:35,44e267976ac app-admin/kubectx,added,mrueg,20180220-17:31,94bceff80e9 net-analyzer/sngrep,added,jer,20180220-07:27,cab50b4f6fe x11-terms/cool-retro-term,added,slyfox,20180219-22:37,26568447189 net-wireless/soapy_power,added,zerochaos,20180219-16:51,9a5e1b8399e net-wireless/soapysdr,added,zerochaos,20180219-16:50,8d81387a5e6 net-wireless/soapybladerf,added,zerochaos,20180219-16:50,dce16c98789 net-wireless/soapyhackrf,added,zerochaos,20180219-16:49,c7517743c6a net-wireless/soapyrtlsdr,added,zerochaos,20180219-16:49,8e2b5cbf7d6 net-wireless/soapyuhd,added,zerochaos,20180219-16:48,979c6f51ad2 dev-python/simplespectral,added,zerochaos,20180219-16:47,b383e139723 dev-python/simplesoapy,added,zerochaos,20180219-16:46,612ee967cec dev-python/pyFFTW,added,zerochaos,2