[Bug gas/886] gas/mmix/relax2 fails

2005-05-07 Thread hp at sourceware dot org

--- Additional Comments From hp at sourceware dot org  2005-05-07 06:27 
---
Same general reply as in PR 885, but for this one, I'm assigned to fix it.
Do you see spurious passes on some host?

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=886

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/885] Missing adjustment to the ld-mmix testsuite

2005-05-07 Thread hp at sourceware dot org

--- Additional Comments From hp at sourceware dot org  2005-05-07 06:24 
---
In response to comment #1:
This PR is here to track the state of the failures, so until it's RESOLVED/FIXED
"it's not fixed".  But that's the obvious answer.  Do you see "spurious" passes
for these tests?  Since you're the one who introduced the failures, you're very
welcome with a fix.


-- 
   What|Removed |Added

 CC||hjl at lucon dot org


http://sources.redhat.com/bugzilla/show_bug.cgi?id=885

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/932] hidden symbol `__gcov_execvp' in /usr/lib64/gcc/powerpc64-suse-linux/4.0.1/libgcov.a(_gcov_execvp.o) is referenced by DSO

2005-05-07 Thread olh at suse dot de

--- Additional Comments From olh at suse dot de  2005-05-07 11:52 ---
I see the same on i386, for openssl and tcl.
They use -fprofile-arcs in CFLAGS.
Last successful build was with gcc-20050424.
I have no testresults between 20050424 and 20050504, yet


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=932

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/932] hidden symbol `__gcov_execvp' in /usr/lib64/gcc/powerpc64-suse-linux/4.0.1/libgcov.a(_gcov_execvp.o) is referenced by DSO

2005-05-07 Thread olh at suse dot de

--- Additional Comments From olh at suse dot de  2005-05-07 12:21 ---
this seems to be the cause:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19985


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=932

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/932] hidden symbol `__gcov_execvp' in /usr/lib64/gcc/powerpc64-suse-linux/4.0.1/libgcov.a(_gcov_execvp.o) is referenced by DSO

2005-05-07 Thread olh at suse dot de

--- Additional Comments From olh at suse dot de  2005-05-07 13:26 ---
the reason is a missing -fprofile-arcs when linking libtcl8.4.so
openssl fails because -fprofile-arcs is missing when linking libcrypto.so

closing this bug as invalid.


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID


http://sources.redhat.com/bugzilla/show_bug.cgi?id=932

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/843] objdump prints wrong register size for "jmpq/callq *%XXX"

2005-05-07 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-05-07 13:38 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sources.redhat.com/bugzilla/show_bug.cgi?id=843

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/885] Missing adjustment to the ld-mmix testsuite

2005-05-07 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-05-07 14:49 ---
The testcases expect local symbols in executable's symbol table. But they
aren't. I don't know much about mmix to say if it is correct or wrong.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=885

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/806] Addr2line ignores the DWARF DW_AT_ranges attributes

2005-05-07 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-05-07 18:22 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sources.redhat.com/bugzilla/show_bug.cgi?id=806

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/936] sh64-elf is broken

2005-05-07 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-05-07 18:25 ---
Joern, does the patch work for you?

-- 
   What|Removed |Added

 Status|NEW |WAITING


http://sources.redhat.com/bugzilla/show_bug.cgi?id=936

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/939] New: Assertion failed in linker

2005-05-07 Thread jan dot ciger at epfl dot ch
Hello,

I am running binutils binutils-2.16.90.0.2-2mdk (Mandrake Cooker, i586). After
upgrade from 2.15.x series which Mandrake used before, I am getting this
error on linking:

g++ --export-dynamic -o /home/janoc/src/VHD/VHDPP_TEST/bin/vhdMetaEngine
vhdMetaEngine/vhdWinApp.o -L/home/janoc/src/VHD/VHDPP_TEST/lib
-L/usr/lib/qt3/lib -L/opt/jtc2.0/lib -L/opt/xerces-1.5.2/lib
-L/usr/X11R6/lib -lDynLib -lvhdMath -lvhdKernel -lvhdQManager -lDynLib
-lvhdOmniORB -lxerces-c -lJTC -ldl -lomniORB4
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: BFD 2.16.90.0.2 20050429 assertion fail elflink.c:6191
/usr/bin/ld: scons: ***
[/home/janoc/src/VHD/VHDPP_TEST/bin/vhdMetaEngine] Error 1

If needed, I can put the binaries online for investigation. The problem
does not happen with every application, only with this particular
in-house software and the Mandrake maintainer is unable to reproduce the
problem.

-- 
   Summary: Assertion failed in linker
   Product: binutils
   Version: 2.16
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: jan dot ciger at epfl dot ch
CC: bug-binutils at gnu dot org


http://sources.redhat.com/bugzilla/show_bug.cgi?id=939

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/940] New: IA64 assembler fails to put unwind section into section group

2005-05-07 Thread hjl at lucon dot org
This comment:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21070#c7

shows an ia64 assembler bug:

/usr/lib/gcc/ia64-suse-linux/4.0.1/../../../../ia64-suse-linux/bin/ld: 
`.gnu.linkonce.t._ZN12ConstantPool9CPInvalidD1Ev' referenced in section 
`.gnu.linkonce.ia64unw._ZN12ConstantPool9CPInvalidD1Ev' of class.o: defined in 
discarded section 
`.gnu.linkonce.t._ZN12ConstantPool9CPInvalidD1Ev[ConstantPool::CPInvalid::~CPInvalid()]'

of class.o

`.gnu.linkonce.t._ZN12ConstantPool9CPInvalidD1Ev' and
`.gnu.linkonce.ia64unw._ZN12ConstantPool9CPInvalidD1Ev' aren't in the
same section group as they should.

-- 
   Summary: IA64 assembler fails to put unwind section into section
group
   Product: binutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl at lucon dot org
CC: bug-binutils at gnu dot org


http://sources.redhat.com/bugzilla/show_bug.cgi?id=940

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/940] IA64 assembler fails to put unwind section into section group

2005-05-07 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-05-07 20:23 ---
A patch is posted at

http://sourceware.org/ml/binutils/2005-05/msg00327.html

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=940

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/939] Assertion failed in linker

2005-05-07 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-05-07 20:30 ---
Please make the binary available to me. I will take a look.

-- 
   What|Removed |Added

 CC||hjl at lucon dot org


http://sources.redhat.com/bugzilla/show_bug.cgi?id=939

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/940] IA64 assembler fails to put unwind section into section group

2005-05-07 Thread hjl at lucon dot org


-- 
   What|Removed |Added

 CC||schwab at suse dot de


http://sources.redhat.com/bugzilla/show_bug.cgi?id=940

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/939] Assertion failed in linker

2005-05-07 Thread jan dot ciger at epfl dot ch

--- Additional Comments From jan dot ciger at epfl dot ch  2005-05-07 22:32 
---
(In reply to comment #1)
> Please make the binary available to me. I will take a look.

You can find the set of binaries used in the failed command here:
http://vrlab.epfl.ch/~janoc/files/binutils-bug.tar.gz

There is a script inside which has the command used to reproduce the problem. 
The binaries were compiled with GCC 4.0 on Mandrake Cooker, gcc --version says:

gcc (GCC) 4.0.0 (4.0.0-3mdk for Mandriva Linux release 2006.0)
Copyright (C) 2005 Free Software Foundation, Inc.

However I had the same problem with GCC 3.4.x, I do not think that GCC version
makes a difference.

The compilation flags for the shared libs were:
-g -frtti -fexceptions -pipe -Wall -Wno-unused-parameter -Wno-unused-
variable -Wno-unknown-pragmas -Wno-endif-labels -Wno-sign-compare

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=939

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/939] Assertion failed in linker

2005-05-07 Thread jan dot ciger at epfl dot ch

--- Additional Comments From jan dot ciger at epfl dot ch  2005-05-07 22:34 
---
(In reply to comment #2)
> The compilation flags for the shared libs were:
> -g -frtti -fexceptions -pipe -Wall -Wno-unused-parameter -Wno-unused-
> variable -Wno-unknown-pragmas -Wno-endif-labels -Wno-sign-compare

Oops, I forgot to copy -fPIC as well.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=939

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/939] Assertion failed in linker

2005-05-07 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-05-07 23:22 ---
I need your libpython2.4.so.1.0 and libomnithread.so.3.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=939

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/939] Assertion failed in linker

2005-05-07 Thread jan dot ciger at epfl dot ch

--- Additional Comments From jan dot ciger at epfl dot ch  2005-05-07 23:44 
---
Here you are:

http://vrlab.epfl.ch/~janoc/files/libs.tar.gz

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=939

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/939] Assertion failed in linker

2005-05-07 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-05-08 00:18 ---
There is a bug in libJTC.so which references an internal symbol,
__fini_array_end. When linker tried to report the user error,
it crashed. This patch

http://sourceware.org/ml/binutils/2005-05/msg00329.html

should fix the linker. Now I get

/usr/gcc-4.0/bin/g++ -B./ -o vhdMetaEngine vhdWinApp.o -Wl,-rpath-
link,usr/lib -Llib -lDynLib -lvhdMath -lvhdKernel -lvhdQManager -lDynLib -
lvhdOmniORB -lxerces-c -lJTC -ldl -lomniORB4
./ld: BFD 2.16.90.0.3 20050507 assertion 
fail /net/gnu/export/linux/src/binutils/binutils/bfd/elflink.c:6301
./ld: vhdMetaEngine: hidden symbol `__fini_array_end' in vhdMetaEngine is 
referenced by DSO
./ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status

Can you tell me how and why libJTC.so uses __fini_array_end?

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=939

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/939] Assertion failed in linker

2005-05-07 Thread jan dot ciger at epfl dot ch

--- Additional Comments From jan dot ciger at epfl dot ch  2005-05-08 00:43 
---
(In reply to comment #6)
> There is a bug in libJTC.so which references an internal symbol,
> __fini_array_end. When linker tried to report the user error,
> it crashed. This patch
> 
> http://sourceware.org/ml/binutils/2005-05/msg00329.html

Thanks! I will forward this to the Mandrake/Mandriva maintainer.

> Can you tell me how and why libJTC.so uses __fini_array_end?

No idea. These symbols are not referenced by the library itself, they are added
only when I link the static lib into a dynamic one using:

g++ -shared -Wl,--whole-archive libJTC.a -o libJTC.so

Then nm -D gives me:
$ nm -D libJTC.so | grep __fini
 U __fini_array_end
 U __fini_array_start




-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=939

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/939] Assertion failed in linker

2005-05-07 Thread jan dot ciger at epfl dot ch

--- Additional Comments From jan dot ciger at epfl dot ch  2005-05-08 01:17 
---
(In reply to comment #8)
The fixed libJTC fixed the problem, no crash anymore. I have forwarded your
patch to the maintainer as well. 

Thanks again for help.


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=939

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/939] Assertion failed in linker

2005-05-07 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-05-08 01:04 ---
That is your bug. You never want to do

-Wl,--whole-archive libJTC.a

You should use

-Wl,--whole-archive libJTC.a -Wl,--no-whole-archive

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=939

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/939] Assertion failed in linker

2005-05-07 Thread jan dot ciger at epfl dot ch

--- Additional Comments From jan dot ciger at epfl dot ch  2005-05-08 01:12 
---
(In reply to comment #8)
> That is your bug. You never want to do
> 
> -Wl,--whole-archive libJTC.a
> 
> You should use
> 
> -Wl,--whole-archive libJTC.a -Wl,--no-whole-archive

Ooops. That means that the offending symbols are appended from libstdc++ or libc
or whatever lib is linked in after the JTC archive :( I am an idiot ...

Thanks!



-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=939

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils