All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan at linux.intel.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] ia64 builds fails (and maybe alpha too?)
Date: Tue, 03 Sep 2013 16:09:26 -0700	[thread overview]
Message-ID: <52266C26.4070705@linux.intel.com> (raw)
In-Reply-To: 52266AFD.4000301@debian.org

[-- Attachment #1: Type: text/plain, Size: 2175 bytes --]

On 9/3/2013 4:04 PM, Jose Luis Rivas wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> [Please keep Julian CC'd since I don't know if he's subscribed to this
> list, I am.]
>
> Hi,
>
> During the packaging of PowerTOP for Debian we have come across and
> issue in the building for `ia64`[0][1]. Julian (co-maintainer at
> Debian) made a patch for it [2][3].
>
> Doing some research it looks like this was removed on `9ce9ec6`[4]
> altogether with `alpha` support. What are those older kernels
> mentioned in the commit message? Maybe our build-daemons for ia64 have
> older kernels in that case please let us know which is the minimum
> kernel version for this to work.
>
> If is not the case and in fact we need the patch, can this be included
> upstream before and we can make a new release of PowerTOP with this?
>
> Kind regards,
> Keep up the good work!
>
> [0]
> https://buildd.debian.org/status/fetch.php?pkg=powertop&arch=ia64&ver=2.4-1&stamp=1377923202
>
> [1] Excerpt from the build log:
> ```
> g++ -DHAVE_CONFIG_H -I. -I..  -D_FORTIFY_SOURCE=2
> - -I/usr/include/libnl3     -DLOCALEDIR=\"/usr/share/locale\"
> - -D_FORTIFY_SOURCE=2 -fno-omit-frame-pointer -fstack-protector -Wall
> - -Wshadow -Wformat   -I/usr/include/libnl3    -g -O2 -Wformat
> - -Werror=format-security -c -o perf/powertop-perf.o `test -f
> 'perf/perf.cpp' || echo './'`perf/perf.cpp
> perf/perf.cpp:1:0: warning: -fstack-protector not supported for this
> target [enabled by default]
> perf/perf.cpp: In function 'int sys_perf_event_open(perf_event_attr*,
> pid_t, int, int, long unsigned int)':
> perf/perf.cpp:67:17: error: '__NR_perf_event_open' was not declared in
> this scope
> perf/perf.cpp:69:1: warning: control reaches end of non-void function
> [-Wreturn-type]
> make[4]: *** [perf/powertop-perf.o] Error 1
> make[3]: *** [all] Error 2
> ```

if your kernel does not have "perf", there is no point in using powertop....
really; it will not work at all.

(including anything asm-generic/foo also is the wrong answer; that directory is not architectural
from a kernel perspective, only for indirect inclusion)



             reply	other threads:[~2013-09-03 23:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03 23:09 Arjan van de Ven [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-09-04 14:52 [Powertop] ia64 builds fails (and maybe alpha too?) Arjan van de Ven
2013-09-04  8:40 Sergey Senozhatsky
2013-09-04  7:32 Sergey Senozhatsky
2013-09-03 23:18 Jose Luis Rivas
2013-09-03 23:04 Jose Luis Rivas

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=52266C26.4070705@linux.intel.com \
    --to=powertop@lists.01.org \
    /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.