All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Müller" <schnitzeltony@gmail.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [oe] [PATCH 2/6] gnome-commander: initial add 1.14.2
Date: Thu, 31 Mar 2022 20:45:02 +0200	[thread overview]
Message-ID: <CALbNGRRW4RDt=d78QQ1h03OfHcPyVo=_VW9kh9HjZKKjcUHbsQ@mail.gmail.com> (raw)
In-Reply-To: <CAMKF1soHzWsBnGVWH4ZPmbb=C=_KSD-b_1xFOq7u30eS4D09NA@mail.gmail.com>

On Thu, Mar 31, 2022 at 6:09 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> seeing this build failure on arm64 ( I use clang )
>
> | In file included from
> ../../../gnome-commander-1.14.2/src/intviewer/searcher.cc:27:
> | In file included from
> ../../../gnome-commander-1.14.2/src/intviewer/libgviewer.h:40:
> | In file included from
> ../../../gnome-commander-1.14.2/src/intviewer/viewer-window.h:27:
> | In file included from
> ../../../gnome-commander-1.14.2/src/intviewer/../gnome-cmd-includes.h:24:
>
>              | In file included from
> ../../../gnome-commander-1.14.2/libgcmd/libgcmd.h:26:
> | ../../../gnome-commander-1.14.2/libgcmd/libgcmd-widget-factory.h:167:70:
> warning: 'format' attribute argument not supported: gnu_printf
> [-Wignored-attributes]
> |     void create_error_dialog (const gchar *msg, ...) __attribute__
> ((format (gnu_printf, 1, 2)));
> |                                                                      ^
> | ../../../gnome-commander-1.14.2/src/intviewer/searcher.cc:303:5:
> error: cannot initialize a parameter of type 'gint *' (aka 'int *')
> with an rvalue of type 'void *'
> |     g_atomic_int_compare_and_exchange (&src->priv->progress_value,
> oldval, (gint)d);
> |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/gnome-commander/1.14.2-r0/recipe-sysroot/usr/include/glib-2.0/glib/gatomic.h:160:44:
> note: expanded from macro 'g_atomic_int_co
> mpare_and_exchange'
> |     __atomic_compare_exchange_n ((atomic), (void *)
> (&(gaicae_oldval)), (newval), FALSE, __ATOMIC_SEQ_CST,
> __ATOMIC_SEQ_CST) ? TRUE : FALSE; \
> |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> | 1 warning and 1 error generated.
> | make[3]: *** [Makefile:521: searcher.o] Error 1
> | make[3]: Leaving directory
> '/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/gnome-commander/1.14.2-r0/build/src/intviewer'

Looked into this and think the code of gnome-commander is correct.
Looks to me that glib-2 atomic macros do not work properly in your
environment. My clang/gcc-runtime build is still pending so I ask: Was
this with llvm runtime?

Andreas


  reply	other threads:[~2022-03-31 18:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220331064935.2763629-1-schnitzeltony@gmail.com>
     [not found] ` <20220331064935.2763629-6-schnitzeltony@gmail.com>
2022-03-31 15:59   ` [oe] [PATCH 6/6] gnome-text-editor: initial add 42.0 Khem Raj
2022-03-31 17:00     ` Andreas Müller
2022-03-31 17:06       ` Khem Raj
2022-03-31 17:10         ` Andreas Müller
     [not found] ` <20220331064935.2763629-2-schnitzeltony@gmail.com>
2022-03-31 16:08   ` [oe] [PATCH 2/6] gnome-commander: initial add 1.14.2 Khem Raj
2022-03-31 18:45     ` Andreas Müller [this message]
2022-03-31 18:49       ` Khem Raj

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='CALbNGRRW4RDt=d78QQ1h03OfHcPyVo=_VW9kh9HjZKKjcUHbsQ@mail.gmail.com' \
    --to=schnitzeltony@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=raj.khem@gmail.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.