[Bug binutils/11107] ld fails to build

2009-12-21 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2009-12-22 
02:13 ---
Created an attachment (id=4479)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4479&action=view)
eelf32ppcwxworks.c as it should be


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11107

--- 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/11107] ld fails to build

2009-12-21 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2009-12-22 
02:10 ---
This must be a host issue because I can certainly cross-compile a
powerpc-wrs-vxworks binutils-2.20.  I suspect your shell may not like the shell
commands near the end of vxworks.em.  Building under bash will likely avoid the
problem, but if you can, please investigate why your eelf32ppcvxworks.c lacks a
reference to vxworks_before_parse in ld_elf32ppcvxworks_emulation

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11107

--- 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/11111] 'defined in discarded section' linker error using gcc 4.1.2 and binutils 2.18

2009-12-21 Thread hjl dot tools at gmail dot com

--- Additional Comments From hjl dot tools at gmail dot com  2009-12-22 
00:34 ---
It is an gcc bug.  You can first try binutils 2.20 to see if it can
work around it. If it doesn't work, you need to update your gcc.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=1

--- 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/11111] New: 'defined in discarded section' linker error using gcc 4.1.2 and binutils 2.18

2009-12-21 Thread mahesh dot athi at gmail dot com
trying to compile c++ files into a shared library using gcc 4.1.2 and ld 2.18.
getting following error:
gcc -shared -dy -L/hwapps/dvg/4.5.3/lib/Linux -o ./lib/Linux/libathirtt.so -lc
-lm -lmdk ./obj/Linux/d.o ./obj/Linux/ds.o ./obj/Linux/dsa.o ./obj/Linux/s.o
./obj/Linux/sl.o ./obj/Linux/r.o ./obj/Linux/c.o ./obj/Linux/b.o
./obj/Linux/de.o ./obj/Linux/g.o ./obj/Linux/i.o ./obj/Linux/p.o
./obj/Linux/ra.o ./obj/Linux/re.o ./obj/Linux/unsolicited_trans.o
./obj/Linux/debug_port.o 

`.L527' referenced in section `.rodata' of ./obj/Linux/unsolicited_trans.o:
defined in discarded section
`.gnu.linkonce.t._ZN17SRIOBFMUserPacket13RandomizeSizeEv' of
./obj/Linux/unsolicited_trans.o
`.L529' referenced in section `.rodata' of ./obj/Linux/unsolicited_trans.o:
defined in discarded section
`.gnu.linkonce.t._ZN17SRIOBFMUserPacket13RandomizeSizeEv' of
./obj/Linux/unsolicited_trans.o
`.L534' referenced in section `.rodata' of ./obj/Linux/unsolicited_trans.o:
defined in discarded section
`.gnu.linkonce.t._ZN17SRIOBFMUserPacket13RandomizeSizeEv' of
./obj/Linux/unsolicited_trans.o
`.L536' referenced in section `.rodata' of ./obj/Linux/unsolicited_trans.o:
defined in discarded section
`.gnu.linkonce.t._ZN17SRIOBFMUserPacket13RandomizeSizeEv' of
./obj/Linux/unsolicited_trans.o
`.L539' referenced in section `.rodata' of ./obj/Linux/unsolicited_trans.o:
defined in discarded section
`.gnu.linkonce.t._ZN17SRIOBFMUserPacket13RandomizeSizeEv' of
./obj/Linux/unsolicited_trans.o
`.L542' referenced in section `.rodata' of ./obj/Linux/unsolicited_trans.o:
defined in discarded section
`.gnu.linkonce.t._ZN17SRIOBFMUserPacket13RandomizeSizeEv' of
./obj/Linux/unsolicited_trans.o
collect2: ld returned 1 exit status

Any help would be appreciated!

-- 
   Summary: 'defined in discarded section' linker error using gcc
4.1.2 and binutils 2.18
   Product: binutils
   Version: 2.18
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: mahesh dot athi at gmail dot com
CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=1

--- 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/11109] Invalid vcvt UAL encoding

2009-12-21 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-12-21 16:52 
---
Hi Anton,

  Please could you try out the uploaded patch and let me know if it fixes the
problem for you.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=11109

--- 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/11109] Invalid vcvt UAL encoding

2009-12-21 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2009-12-21 16:51 
---
Created an attachment (id=4476)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4476&action=view)
correctly encode vcvt instruction


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11109

--- 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/11107] ld fails to build

2009-12-21 Thread richard dot amato at goodrich dot com

--- Additional Comments From richard dot amato at goodrich dot com  
2009-12-21 14:23 ---
(In reply to comment #1)
> This has already been fixed.  Update to 2.20 or a recent snapshot.

After updating to V2.20, the problem still remained exactly as before.

Richard Amato


-- 
   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WORKSFORME  |


http://sourceware.org/bugzilla/show_bug.cgi?id=11107

--- 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