|
From: Bill R. Jr. <bru...@te...> - 2005-12-01 15:49:09
|
Does anyone have a patch to get Callgrind-0.10.1 to build both x86
and amd64 versions of tools, either in or out of the Valgrind tree?
I'm trying to package the bi-arch support in an FC4 RPM.
I've started hacking the {.am,in} input, but GNU Autotools makes my
brain hurt. :-/
Regards,
Bill Rugolsky
|
|
From: Tom H. <to...@co...> - 2005-12-01 17:11:31
|
In message <200...@ti...>
Bill Rugolsky, Jr. <bru...@te...> wrote:
> Does anyone have a patch to get Callgrind-0.10.1 to build both x86
> and amd64 versions of tools, either in or out of the Valgrind tree?
> I'm trying to package the bi-arch support in an FC4 RPM.
No, because it relies on pkgconfig and we haven't sorted the pkgconfig
stuff in valgrind to be biarch aware yet.
> I've started hacking the {.am,in} input, but GNU Autotools makes my
> brain hurt. :-/
I have up and made callgrind 64 bit only in my RPMs for now.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|
|
From: Bill R. Jr. <bru...@te...> - 2005-12-01 20:50:14
Attachments:
valgrind.spec
valgrind-callgrind-in-tree-build.patch
|
On Thu, Dec 01, 2005 at 10:48:56AM -0500, Bill Rugolsky Jr. wrote:
> Does anyone have a patch to get Callgrind-0.10.1 to build both x86
> and amd64 versions of tools, either in or out of the Valgrind tree?
> I'm trying to package the bi-arch support in an FC4 RPM.
>
> I've started hacking the {.am,in} input, but GNU Autotools makes my
> brain hurt. :-/
Sorry to reply to myself, but I got callgrind building in-tree
on FC4-x86_64 using some nasty hacks to untar callgrind, move a
bunch of files around, apply a patch, and run the Autotools.
[S]RPMS can be found on my home machine:
ftp://67.83.200.158/pub/valgrind/
13435 Dec 01 20:19 valgrind-3.1.0-0.ti.2.fc4.nosrc.rpm
3242181 Dec 01 20:19 valgrind-3.1.0-0.ti.2.fc4.src.rpm
24610498 Dec 01 20:19 valgrind-3.1.0-0.ti.2.fc4.x86_64.rpm
480967 Dec 01 20:19 valgrind.build.out
The .spec file and patch are attached. Perhaps someone will find this useful.
Regards,
Bill Rugolsky
|
|
From: Josef W. <Jos...@gm...> - 2005-12-04 09:16:51
|
On Thursday 01 December 2005 21:49, Bill Rugolsky Jr. wrote: > Sorry to reply to myself, but I got callgrind building in-tree Hi, nice to know this is possible... I still think that it is a valuable "exercise" to make external valgrind tools work. This way, I can do separate releases, and for minor valgrind releases, I do not have to do one, too. Josef |
|
From: Josef W. <Jos...@gm...> - 2005-12-02 20:31:31
|
On Thursday 01 December 2005 16:48, Bill Rugolsky Jr. wrote:
> Does anyone have a patch to get Callgrind-0.10.1 to build both x86
> and amd64 versions of tools, either in or out of the Valgrind tree?
> I'm trying to package the bi-arch support in an FC4 RPM.
>
> I've started hacking the {.am,in} input, but GNU Autotools makes my
> brain hurt. :-/
If you can fake a valgrind.pc for 32bit, it could work.
I do not know if valgrind 3.1 can be forced to compile in 32bit only
on AMD64.
Josef
|