[Bug binutils/23788] objcopy: src/steddNxf: failed to find link section for section 24

2018-10-18 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23788

--- Comment #4 from Alan Modra  ---
I asked for an **OBJECT** file, you know, the file that objcopy is operating
on, not source files.  That would be shell.o in this instance.  I don't have
clang-7 installed.  If I build clang myself, the configure opions I use or
those auto-detected might get me a compiler that doesn't reproduce the same
object file.

-- 
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 binutils/23788] objcopy: src/steddNxf: failed to find link section for section 24

2018-10-18 Thread mewbaz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23788

--- Comment #3 from mewbaz at gmail dot com ---
And these versions are used:

u@x1 ~> clang --version
clang version 7.0.0 (tags/RELEASE_700/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

u@x1 ~> objcopy --version
GNU objcopy (GNU Binutils) 2.31.1
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

-- 
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 binutils/23788] objcopy: src/steddNxf: failed to find link section for section 24

2018-10-18 Thread mewbaz at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23788

--- Comment #2 from mewbaz at gmail dot com ---
Example based on SQLite3:
https://sqlite.org/2018/sqlite-amalgamation-3250200.zip

u@x1 ~/D/p/y/0/f/l/sqlite-amalgamation-3250200> cat foo
asdf
u@x1 ~/D/p/y/0/f/l/sqlite-amalgamation-3250200> clang-7 -c shell.c
u@x1 ~/D/p/y/0/f/l/sqlite-amalgamation-3250200> 
objcopy --add-section .llvm_bc=foo shell.o
objcopy: stlck9zT: failed to find link section for section 17
objcopy: stlck9zT: failed to find link section for section 17

-- 
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/23040] .uleb128 directive doesn't accept some valid expressions

2018-10-18 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23040

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2018-10-18
   Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
 Ever confirmed|0   |1

--- Comment #1 from Alan Modra  ---
Confirmed, and yes, it was the change to use deferred_expression in s_leb128
(commit ba8826a82a2, 2017-07-21 Alexandre Oliva) that introduced the
regression.

Some poking around in gdb shows that the value for dot in "1f-.-1" is wrong,
and changes with relaxation.  I think deferred_expression is probably using the
final value for dot in the file, not the current value.

-- 
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/23078] Weak alias to a weak symbol is not resolved correctly.

2018-10-18 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23078

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |INVALID

--- Comment #3 from Alan Modra  ---
Not a linker bug, and original reporter has probably figured out what is wrong
with his code by now.  In an case, asking binutils developers how to use gcc
features via a bug report is not appropriate.

-- 
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/23237] make check for ld fails

2018-10-18 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23237

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
 Resolution|--- |WORKSFORME

--- Comment #4 from Alan Modra  ---
Closing due to lack of response, and in any case these tests work for x86_64
binutils developers.

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