[Bug ld/12789] New: ld 2.21.51.0.9.20110507 fails to link libreoffice on i586

2011-05-20 Thread bero at arklinux dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=12789

   Summary: ld 2.21.51.0.9.20110507 fails to link libreoffice on
i586
   Product: binutils
   Version: 2.22 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassig...@sources.redhat.com
ReportedBy: b...@arklinux.org


Trying to link libreoffice 3.3.99.5 with ld 2.21.51.0.9.20110507 and gcc 4.6.0
results in

`.L159' referenced in section
`.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollection4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollectionBase
>::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of
/build-libreoffice-i586/BUILD/libreoffice-bootstrap-3.3.99.5/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o:
defined in discarded section
`.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollection4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual
thunk to ScVbaCollectionBase
>::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of
/build-libreoffice-i586/BUILD/libreoffice-bootstrap-3.3.99.5/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o
`.L160' referenced in section
`.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollection4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollectionBase
>::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of
/build-libreoffice-i586/BUILD/libreoffice-bootstrap-3.3.99.5/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o:
defined in discarded section
`.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollection4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual
thunk to ScVbaCollectionBase
>::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of
/build-libreoffice-i586/BUILD/libreoffice-bootstrap-3.3.99.5/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o
`.L161' referenced in section
`.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollection4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollectionBase
>::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of
/build-libreoffice-i586/BUILD/libreoffice-bootstrap-3.3.99.5/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o:
defined in discarded section
`.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollection4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual
thunk to ScVbaCollectionBase
>::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of
/build-libreoffice-i586/BUILD/libreoffice-bootstrap-3.3.99.5/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o
`.L162' referenced in section
`.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollection4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollectionBase
>::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of
/build-libreoffice-i586/BUILD/libreoffice-bootstrap-3.3.99.5/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o:
defined in discarded section
`.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollection4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual
thunk to ScVbaCollectionBase
>::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of
/build-libreoffice-i586/BUILD/libreoffice-bootstrap-3.3.99.5/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o
`.L162' referenced in section
`.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollection4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollectionBase
>::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of
/build-libreoffice-i586/BUILD/libreoffice-bootstrap-3.3.99.5/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o:
defined in discarded section
`.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11XCollection4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual
thunk to ScVbaCollectionBase
>::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]' of
/build-libreoffice-i586/BUILD/libreoffice-bootstrap-3.3.99.5/solver/300/unxlngi6.pro/workdir/CxxObject/sc/source/ui/vba/vbasheetobjects.o


Everything is ok with the same libreoffice, ld and gcc on x86_64.

Same libreoffice and gcc on i586 works fine with gold instead of traditional
ld.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment

2011-05-20 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12763

--- Comment #11 from cvs-commit at gcc dot gnu.org  2011-05-20 15:32:27 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:amo...@sourceware.org2011-05-20 15:32:25

Modified files:
bfd: ChangeLog elf.c 

Log message:
PR 12763
* elf.c (_bfd_elf_make_section_from_shdr): Set up TLS section LMAs
from PT_TLS header.
(_bfd_elf_map_sections_to_segments): Don't create a final PT_LOAD
segment if just for .tbss.
(assign_file_positions_for_load_sections): Don't report "can't
allocate in segment" errors for .tbss.
(assign_file_positions_for_non_load_sections): Don't set p_filesz
from SHT_NOBITS section filepos.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5351&r2=1.5352
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=src&r1=1.536&r2=1.537

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment

2011-05-20 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12763

--- Comment #12 from cvs-commit at gcc dot gnu.org  2011-05-20 15:33:33 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:amo...@sourceware.org2011-05-20 15:33:30

Modified files:
ld/testsuite   : ChangeLog 
ld/testsuite/ld-elf: binutils.exp 
Added files:
ld/testsuite/ld-elf: tbss3.s tdata3.s 

Log message:
PR 12763
* ld-elf/tdata3.s: New test.
* ld-elf/tbss3.s: New test.
* ld-elf/binutils.exp: Consolidate tbss and tdata tests.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1409&r2=1.1410
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/tbss3.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/tdata3.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/binutils.exp.diff?cvsroot=src&r1=1.13&r2=1.14

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug gas/12793] arm: push/pop equivalents using stm/ldm mnemonics assembled inconsistently

2011-05-20 Thread dave.martin at linaro dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=12793

Dave Martin  changed:

   What|Removed |Added

 CC||mgretton at sourceware dot
   ||org

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


[Bug gas/12793] New: arm: push/pop equivalents using stm/ldm mnemonics assembled inconsistently

2011-05-20 Thread dave.martin at linaro dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=12793

   Summary: arm: push/pop equivalents using stm/ldm mnemonics
assembled inconsistently
   Product: binutils
   Version: 2.22 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassig...@sources.redhat.com
ReportedBy: dave.mar...@linaro.org


Observed on trunk, 2011-05-17
Configured with --{build,host}=x86_64-pc-linux-gnu --target=arm-elf-eabi

$ cat 

[Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment

2011-05-20 Thread marcus at mc dot pp.se
http://sourceware.org/bugzilla/show_bug.cgi?id=12763

Marcus Comstedt  changed:

   What|Removed |Added

 Status|ASSIGNED|WAITING

--- Comment #13 from Marcus Comstedt  2011-05-20 
20:12:07 UTC ---
Thanks!  I applied your changes to my 2.20.1 tree, and now both ld and strip
work A-ok!

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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