first I cloned the git repo
ran the configure script, which gave no errors
the make command gives me following error:
gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -I../../binutils -I../bfd
-I../../binutils/../bfd -I../../binutils/../include
-DLOCALEDIR="\"/usr/local/share/locale\""
-Dbin_dummy_
--- Additional Comments From jamesmikedupont at googlemail dot com
2010-10-03 09:51 ---
please include the results of -save-temps when compiling.
gcc --verbose -save-temps -DHAVE_CONFIG_H -I. -I../../binutils -I.
-I../../binutils -I../bfd
-I../../binutils/../bfd -I../../binutils/../in
% nm --plugin $(gcc46 -print-prog-name=liblto_plugin.so) t.a
Doesn't print GCC LTO symbols, but
% GNUTARGET=plugin nm --plugin $(gcc46 -print-prog-name=liblto_plugin.so) t.a
works.
Could the need for GNUTARGET be eliminated? It makes it more complicated
to use in Makefiles and will likely fai
--- Additional Comments From hjl dot tools at gmail dot com 2010-10-03
10:16 ---
1. Please provide t.a for nm.
2. Please provide a testcase for ar.
--
What|Removed |Added
--
What|Removed |Added
CC||hjl dot tools at gmail dot
||com
http://sourceware.org/bugzilla
--
What|Removed |Added
Status|WAITING |NEW
http://sourceware.org/bugzilla/show_bug.cgi?id=12088
--- You are receiving this mail because: ---
--- Additional Comments From andi-bz at firstfloor dot org 2010-10-03
10:32 ---
The LTO files are somewhat depending on the compiler version,
mine would not necessarily work with yours.
Just ar up a couple of LTO object files you have lying around for testing
(any .os compiled with with
--- Additional Comments From hjl dot tools at gmail dot com 2010-10-03
10:34 ---
Please show me that "ar --plugin" doesn't work. I
though I had fixed it in Sept.
--
What|Removed |Added
--
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-10-03
10:49 ---
Subject: Bug 12088
CVSROOT:/cvs/src
Module name:src
Changes by: h...@sourceware.org 2010-10-03 10:49:20
Modified files:
binutils : ChangeLog nm.c
Log message:
--- Additional Comments From andi-bz at firstfloor dot org 2010-10-03
10:53 ---
Sorry earlier recipe was not fully correct.
You also need to strip the non LTO data out of the objects before
aring them to reproduce the problem fully (otherwise it's unclear where the
symbols come from)
I
--- Additional Comments From andi-bz at firstfloor dot org 2010-10-03
10:54 ---
Thanks for the patch.
But does the patch work for the case when I pass some LTO and some non LTO
objects, but specify the plugin? (that is does fallback to normal elf still
work)
--
http://sourceware.o
--- Additional Comments From hjl dot tools at gmail dot com 2010-10-03
10:57 ---
(In reply to comment #7)
> But does the patch work for the case when I pass some LTO and some non LTO
> objects, but specify the plugin? (that is does fallback to normal elf still
> work)
Please open a ne
make[4]: Entering directory
`/home/bert/sources/binutils-introspector/build/binutils'
gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -I../../binutils -I../bfd
-I../../binutils/../bfd -I../../binutils/../include
-DLOCALEDIR="\"/usr/local/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation -W
--- Additional Comments From jamesmikedupont at googlemail dot com
2010-10-03 15:27 ---
../../binutils/sysdep.h:79:1
#if !HAVE_DECL_STRSTR
extern char *strstr ();
#endif
It should look more like this, no?
extern char *strstr(const char *, const char *) __ATTR_PURE__;
not ()
--
I suggest you look to the included file..
I guess
--
Summary: build fails on 'make' #2
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at
--- Additional Comments From biertie at gmail dot com 2010-10-03 16:19
---
Created an attachment (id=5029)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=5029&action=view)
the output of the 'make' command
--
http://sourceware.org/bugzilla/show_bug.cgi?id=12090
--- You a
--- Additional Comments From biertie at gmail dot com 2010-10-03 17:25
---
Created an attachment (id=5030)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=5030&action=view)
patch, now it builds
--
http://sourceware.org/bugzilla/show_bug.cgi?id=12089
--- You are receiving
--- Additional Comments From biertie at gmail dot com 2010-10-03 17:56
---
resolved
--
What|Removed |Added
Status|NEW |RESOLVED
--- Additional Comments From biertie at gmail dot com 2010-10-03 17:56
---
duplicate of 12089
--
What|Removed |Added
Status|NEW |RESOLVED
--- Additional Comments From andi-bz at firstfloor dot org 2010-10-03
18:53 ---
The problem is still there for ar
--
What|Removed |Added
Status|RESOLVED
--- Additional Comments From hjl dot tools at gmail dot com 2010-10-03
23:11 ---
(In reply to comment #9)
> The problem is still there for ar
>
>
Works for me:
[...@gnu-6 pr12004]$ make
./ar --plugin
/export/build/gnu/gcc/release/usr/gcc-4.6.0/libexec/gcc/x86_64-unknown-linux-gnu/4.6
--- Additional Comments From hjl dot tools at gmail dot com 2010-10-04
01:51 ---
There are more:
[...@gnu-6 binutils]$ grep HAVE_DECL_STRSTR */*.h
bfd/sysdep.h:#if !HAVE_DECL_STRSTR
binutils/sysdep.h:#if !HAVE_DECL_STRSTR
ld/sysdep.h:#if !HAVE_DECL_STRSTR
[...@gnu-6 binutils]$
There
--
What|Removed |Added
CC||hjl dot tools at gmail dot
||com
http://sourceware.org/bugzilla
23 matches
Mail list logo