All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 0/3 v2] Upgrade RPM 5 to 5.4.16 (CVS HEAD)
Date: Fri, 26 Feb 2016 22:26:33 -0600	[thread overview]
Message-ID: <56D12579.9020705@windriver.com> (raw)
In-Reply-To: <CAJTo0LYDSo_oEMQEhHUWZEO2AGZ516JFevNH7oZ-yTKP_S8_sw@mail.gmail.com>

On 2/26/16 5:11 PM, Burton, Ross wrote:
> Sorry Mark...
> 
> | In file included from ../../rpm-5.4.15/rpmio/rpmiotypes.h:8:0,
> |                  from ../../rpm-5.4.15/rpmio/rpmsq.c:14:
> | ../../rpm-5.4.15/rpmio/rpmsq.c: In function '_rpm_insque':
> | ../../rpm-5.4.15/rpmio/rpmutil.h:115:30: error: '__transaction_atomic' without
> transactional memory support enabled
> |  #  define RPM_GNUC_TM_ATOMIC __transaction_atomic /* XXX [[outer]] */
> |                               ^
> | ../../rpm-5.4.15/rpmio/rpmsq.c:70:3: note: in expansion of macro
> 'RPM_GNUC_TM_ATOMIC'
> |    RPM_GNUC_TM_ATOMIC {
> |    ^
> | ../../rpm-5.4.15/rpmio/rpmsq.c: In function '_rpm_remque':
> | ../../rpm-5.4.15/rpmio/rpmutil.h:115:30: error: '__transaction_atomic' without
> transactional memory support enabled
> |  #  define RPM_GNUC_TM_ATOMIC __transaction_atomic /* XXX [[outer]] */
> |                               ^
> | ../../rpm-5.4.15/rpmio/rpmsq.c:81:3: note: in expansion of macro
> 'RPM_GNUC_TM_ATOMIC'
> |    RPM_GNUC_TM_ATOMIC {
> |    ^
> | Makefile:2167: recipe for target 'rpmsq.lo' failed
> 
> on qemux86.

I am not getting this error on qemux86.

My build configuration:

BB_VERSION        = "1.29.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-23"
TARGET_SYS        = "i586-oe-linux"
MACHINE           = "qemux86"
DISTRO            = "nodistro"
DISTRO_VERSION    = "nodistro.0"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              = "mhatle/rpm-5.4.16:004efb3aaa973dba030847c1c8218238f0cc68c5"

The local.conf is the stock one with buildhistory and package_rpm enabled.

Which compiler do you have enabled?  I'm building with the default 5.3.0 compiler.

Since I'm not reproducing the problem, I'd like to know what the difference in
configurations is.

--Mark

> Ross
> 
> On 26 February 2016 at 03:28, Mark Hatle <mark.hatle@windriver.com
> <mailto:mark.hatle@windriver.com>> wrote:
> 
>     V2:
>     Fixed three issues
>     - Added Apache 2.0 license for specific mongodb code
> 
>     - Switch SSE usage dynamically in rpmio/keccak.c
>       See rpm-keccak-sse-intrin.patch
> 
>     - Add support for architectures that do not support sync_add_and_fetch_8
>       See rpm-atomic-ops.patch
> 
>     All of those changes are made in patch 1/3.
> 
>     This has been built for all of the qemu* BSPs.
> 
>     V1:
>     There is not yet an official RPM 5.4.16 release, however one will be coming
>     soon.  Until then, 4 distinct patches are used to upgrade RPM 5.4.15 to
>     5.4.16.  These patches are part of the commit (compressed w/ .xz).  However
>     I am not sending them as part of the email as it's not very interesting
>     to review base64.  :P
> 
>     Many of the OE patches have been sent to the RPM 5 maintainer, and may be
>     part of the official 5.4.16 release.  When that release happens I expect a
>     simple rebase to remove the unnecessary patches.
> 
>     The following changes since commit 205b446f3fc4a9885179a66a8dab9d81bcc63dca:
> 
>       uclibc: Do not use immediate expansion operator (2016-02-22 20:42:34 +0000)
> 
>     are available in the git repository at:
> 
>       git://git.openembedded.org/openembedded-core-contrib
>     <http://git.openembedded.org/openembedded-core-contrib> mhatle/rpm-5.4.16
>      
>     http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=mhatle/rpm-5.4.16
> 
>     Mark Hatle (3):
>       rpm: Uprev to rpm-5.4.16 (pre) and rpm-5.4+cvs to current CVS head
>       rpm: Enable specific crypto and digest settings via variables
>       rpm: A number of the patches have been submitted upstream
> 
>      meta/lib/oe/package_manager.py                     |   14 +-
>      .../rpm/rpm/0001-define-EM_AARCH64.patch           |    2 +-
>      ...arseArgvString-to-parse-the-_gpg_check_pa.patch |    2 +-
>      .../rpm/rpm/beecrypt-5.4.15-to-5.4.16.patch.gz     |  Bin 0 -> 42815 bytes
>      meta/recipes-devtools/rpm/rpm/debugedit-segv.patch |   48 +-
>      ...debugedit-valid-file-to-fix-segment-fault.patch |    2 +-
>      .../rpm/rpm/fstack-protector-configure-check.patch |   21 -
>      .../rpm/rpm/header-include-fix.patch               |   12 +-
>      .../rpm/rpm/lua-5.4.15-to-5.4.16.patch.gz          |  Bin 0 -> 269940 bytes
>      .../rpm/rpm/makefile-am-exec-hook.patch            |    2 +-
>      .../rpm/rpm/python-rpm-rpmsense.patch              |   32 +-
>      .../rpm/rpm/rpm-5.4.15-to-5.4.16.patch.gz          |  Bin 0 -> 2239384 bytes
>      meta/recipes-devtools/rpm/rpm/rpm-atomic-ops.patch |   73 ++
>      meta/recipes-devtools/rpm/rpm/rpm-canonarch.patch  |    2 +-
>      meta/recipes-devtools/rpm/rpm/rpm-db5-or-db6.patch |   39 +-
>      meta/recipes-devtools/rpm/rpm/rpm-db60.patch       |   56 +
>      .../rpm/rpm/rpm-disable-Wno-override-init.patch    |   32 -
>      .../rpm/rpm/rpm-disable-auto-stack-protector.patch |   32 +
>      .../rpm/rpm/rpm-fix-logio-cp.patch                 |    2 +-
>      .../rpm/rpm/rpm-fix-parseEmbedded.patch            |   27 +
>      .../rpm/rpm/rpm-hardlink-segfault-fix.patch        |    2 +-
>      .../rpm/rpm/rpm-keccak-sse-intrin.patch            |   27 +
>      ...ction.c-fix-file-conflicts-for-mips64-N32.patch |    2 +-
>      meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch |    2 +-
>      .../rpm/rpm/rpm-lsb-compatibility.patch            |    2 +-
>      .../rpm/rpm/rpm-lua-fix-print.patch                |  104 --
>      ...rpm-macros.in-disable-external-key-server.patch |   16 +-
>      .../rpm/rpm/rpm-mongodb-sasl.patch                 |   69 ++
>      meta/recipes-devtools/rpm/rpm/rpm-no-loopmsg.patch |    2 +-
>      ...b-before-verifyscript-to-avoid-null-point.patch |    2 +-
>      .../rpm/rpm/rpm-packageorigin.patch                |    2 +-
>      .../rpm/rpm/rpm-payload-use-hashed-inode.patch     |   22 +-
>      .../rpm/rpm/rpm-pkgconfigdeps.patch                |   10 +-
>      .../rpm/rpm/rpm-platform-file-fix.patch            |    2 +-
>      meta/recipes-devtools/rpm/rpm/rpm-platform.patch   |    2 +-
>      meta/recipes-devtools/rpm/rpm/rpm-platform2.patch  |    4 +-
>      meta/recipes-devtools/rpm/rpm/rpm-py-init.patch    |   16 +-
>      .../rpm/rpm/rpm-python-restore-origin.patch        |   49 +
>      .../rpm/rpm/rpm-remove-sykcparse-decl.patch        |   14 -
>      meta/recipes-devtools/rpm/rpm/rpm-resolvedep.patch |    2 +-
>      .../rpm/rpm/rpm-rpmdb-grammar.patch                |  124 +++
>      .../rpm/rpm/rpm-rpmfc.c-fix-for-N32-MIPS64.patch   |    2 +-
>      .../rpm/rpm/rpm-rpmio-headers.patch                |   19 +
>      meta/recipes-devtools/rpm/rpm/rpm-rpmpgp-fix.patch |   67 --
>      .../rpm/rpm/rpm-scriptletexechelper.patch          |   29 +-
>      .../rpm/rpm/rpm-syck-fix-gram.patch                | 1081 ++++++++++++++++++++
>      .../rpm-tag-generate-endian-conversion-fix.patch   |    2 +-
>      .../rpm/rpm/rpm-tools-mtree-LDFLAGS.patch          |    2 +-
>      meta/recipes-devtools/rpm/rpm/rpmatch.patch        |   32 +-
>      .../recipes-devtools/rpm/rpm/rpmqv_cc_b_gone.patch |   27 +-
>      .../rpm/rpm/syck-5.4.15-to-5.4.16.patch.gz         |  Bin 0 -> 4837 bytes
>      meta/recipes-devtools/rpm/rpm/uclibc-support.patch |   38 +-
>      ...broken-logic-for-ghost-avoidance-Mark-Hat.patch |   38 -
>      meta/recipes-devtools/rpm/rpm_5.4+cvs.bb <http://cvs.bb>           |  290
>     +++++-
>      .../rpm/{rpm_5.4.14.bb <http://rpm_5.4.14.bb> => rpm_5.4.16.bb
>     <http://rpm_5.4.16.bb>}           |  185 +++-
>      55 files changed, 2120 insertions(+), 565 deletions(-)
>      create mode 100644
>     meta/recipes-devtools/rpm/rpm/beecrypt-5.4.15-to-5.4.16.patch.gz
>      delete mode 100644
>     meta/recipes-devtools/rpm/rpm/fstack-protector-configure-check.patch
>      create mode 100644 meta/recipes-devtools/rpm/rpm/lua-5.4.15-to-5.4.16.patch.gz
>      create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-5.4.15-to-5.4.16.patch.gz
>      create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-atomic-ops.patch
>      create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-db60.patch
>      delete mode 100644
>     meta/recipes-devtools/rpm/rpm/rpm-disable-Wno-override-init.patch
>      create mode 100644
>     meta/recipes-devtools/rpm/rpm/rpm-disable-auto-stack-protector.patch
>      create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-fix-parseEmbedded.patch
>      create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-keccak-sse-intrin.patch
>      delete mode 100644 meta/recipes-devtools/rpm/rpm/rpm-lua-fix-print.patch
>      create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-mongodb-sasl.patch
>      create mode 100644
>     meta/recipes-devtools/rpm/rpm/rpm-python-restore-origin.patch
>      delete mode 100644
>     meta/recipes-devtools/rpm/rpm/rpm-remove-sykcparse-decl.patch
>      create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-rpmdb-grammar.patch
>      create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-rpmio-headers.patch
>      delete mode 100644 meta/recipes-devtools/rpm/rpm/rpm-rpmpgp-fix.patch
>      create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-syck-fix-gram.patch
>      create mode 100644 meta/recipes-devtools/rpm/rpm/syck-5.4.15-to-5.4.16.patch.gz
>      delete mode 100644
>     meta/recipes-devtools/rpm/rpm/verify-fix-broken-logic-for-ghost-avoidance-Mark-Hat.patch
>      rename meta/recipes-devtools/rpm/{rpm_5.4.14.bb <http://rpm_5.4.14.bb> =>
>     rpm_5.4.16.bb <http://rpm_5.4.16.bb>} (83%)
> 
>     --
>     2.5.0
> 
>     --
>     _______________________________________________
>     Openembedded-core mailing list
>     Openembedded-core@lists.openembedded.org
>     <mailto:Openembedded-core@lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 
> 



  reply	other threads:[~2016-02-27  4:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-26  3:28 [PATCH 0/3 v2] Upgrade RPM 5 to 5.4.16 (CVS HEAD) Mark Hatle
2016-02-26  3:28 ` [PATCH 1/3 v2] rpm: Uprev to rpm-5.4.16 (pre) and rpm-5.4+cvs to current CVS head Mark Hatle
     [not found]   ` <39dcc8978920aeaf0eeb206b7292f32af4b775f7.1456456877.git.mark.hatle@wi ndriver.com>
2016-02-26 15:01     ` alexander.kanavin
2016-02-26 14:26       ` Mark Hatle
2016-02-29 13:16         ` Alexander Kanavin
2016-02-29 15:18           ` Mark Hatle
2016-02-26  3:28 ` [PATCH 2/3 v2] rpm: Enable specific crypto and digest settings via variables Mark Hatle
2016-02-26  3:28 ` [PATCH 3/3 v2] rpm: A number of the patches have been submitted upstream Mark Hatle
2016-02-26 23:11 ` [PATCH 0/3 v2] Upgrade RPM 5 to 5.4.16 (CVS HEAD) Burton, Ross
2016-02-27  4:26   ` Mark Hatle [this message]
2016-02-27 22:47     ` Burton, Ross
2016-02-27 23:26       ` Mark Hatle
2016-02-29 15:36         ` Mark Hatle
2016-03-01  1:33           ` Mark Hatle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56D12579.9020705@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.