[Bug gas/32811] nooptimize doesn't apply to immediates

2025-03-22 Thread andi-bz at firstfloor dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32811 --- Comment #4 from Andi Kleen --- Looks good to me thanks. Except should there be an error if the immediate exceeds imm8 or imm16? -- You are receiving this mail because: You are on the CC list for the bug.

[Bug gas/32811] nooptimize doesn't apply to immediates

2025-03-21 Thread andi-bz at firstfloor dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32811 --- Comment #1 from Andi Kleen --- Correction: I would have expected the last two instructions to have the same size. For the first I guess it's reasonable to not consider immediates as a displacement. -- You are receiving this mail because

[Bug gas/32811] New: nooptimize doesn't apply to immediates

2025-03-20 Thread andi-bz at firstfloor dot org
onent: gas Assignee: unassigned at sourceware dot org Reporter: andi-bz at firstfloor dot org Target Milestone: --- The documentation says * '{nooptimize}' - disable instruction size optimization. I would have expected it to apply for immediates too, but it doesn

[Bug gas/30585] New: as ignores {disp16} in 16bit mode

2023-06-25 Thread andi-bz at firstfloor dot org
Assignee: unassigned at sourceware dot org Reporter: andi-bz at firstfloor dot org Target Milestone: --- For i386 / i8086: For .code16 {disp16} jmp 1f nop 1: I would expect a 16 bit jump displacement, but I only get 8 bits: <.t

[Bug binutils/22434] New: addr2line inline resolving doesn't work with split dwarf

2017-11-13 Thread andi-bz at firstfloor dot org
ormal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: andi-bz at firstfloor dot org Target Milestone: --- $ cat tinline.c int i; static inline int finline(void) { i++; } main() { finline(); } $ gcc -O2 -g

[Bug ld/19008] symbol references from notes sections result in errors with -gc-sections

2015-09-27 Thread andi-bz at firstfloor dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19008 --- Comment #9 from Andi Kleen --- Binutils was compiled with the system compiler Did a separate build on binutils Then bootstrapped gcc with PATH=/path/to/binutils/bin:$PATH -- You are receiving this mail because: You are on the CC

[Bug ld/19008] symbol references from notes sections result in errors with -gc-sections

2015-09-26 Thread andi-bz at firstfloor dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19008 --- Comment #7 from Andi Kleen --- binutils mainline can't build gcc /usr/local/bin/ld-plugin: _muldi3_s.o: access beyond end of merged section (3168) /usr/local/bin/ld-plugin: _muldi3_s.o: access beyond end of merged section (2884) /usr/loca

[Bug ld/19008] symbol references from notes sections result in errors with -gc-sections

2015-09-25 Thread andi-bz at firstfloor dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19008 --- Comment #5 from Andi Kleen --- I'm using ld ld --version GNU ld version 2.25-8.fc22 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list b

[Bug ld/19008] symbol references from notes sections result in errors with -gc-sections

2015-09-25 Thread andi-bz at firstfloor dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19008 --- Comment #2 from Andi Kleen --- Install systemtap-devel on Fedora Do a gcc bootstrap -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bu

[Bug ld/19008] New: symbol references from notes sections result in errors with -gc-sections

2015-09-25 Thread andi-bz at firstfloor dot org
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: andi-bz at firstfloor dot org Target Milestone: --- Since some time I get boot strap errors with gcc on systems with systemtap installed. It fails when linking libsupc++ like

[Bug binutils/16433] New: objdump -l reports wrong line numbers

2014-01-10 Thread andi-bz at firstfloor dot org
Assignee: unassigned at sourceware dot org Reporter: andi-bz at firstfloor dot org objdump --version GNU objdump (GNU Binutils; openSUSE 12.2) 2.22 Simple file: 1 2volatile a = 1, b = 10, c; 3 4__attribute__((noinline)) f2() 5

[Bug binutils/13278] --plugin doesn't work on archive

2011-10-10 Thread andi-bz at firstfloor dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=13278 Andi Kleen changed: What|Removed |Added CC||andi-bz at firstfloor dot

[Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin

2010-10-04 Thread andi-bz at firstfloor dot org
--- Additional Comments From andi-bz at firstfloor dot org 2010-10-04 07:01 --- I think that's because you didn't strip the ELF symbol table, so it will fall back to the ELF table. If you only "ONLYLTO" first and there is only LTO information (see

[Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin

2010-10-04 Thread andi-bz at firstfloor dot org
--- Additional Comments From andi-bz at firstfloor dot org 2010-10-04 07:02 --- Created an attachment (id=5032) --> (http://sourceware.org/bugzilla/attachment.cgi?id=5032&action=view) test case demonstrating the ar problem Full test case demonstrating the ar problem. You will

[Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin

2010-10-03 Thread andi-bz at firstfloor dot org
--- 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

[Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin

2010-10-03 Thread andi-bz at firstfloor dot org
--- 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

[Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin

2010-10-03 Thread andi-bz at firstfloor dot org
--- 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

[Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin

2010-10-03 Thread andi-bz at firstfloor dot org
--- 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

[Bug binutils/12088] ar/nm plugin use requires GNUTARGET=plugin

2010-10-03 Thread andi-bz at firstfloor dot org
-- What|Removed |Added Status|WAITING |NEW http://sourceware.org/bugzilla/show_bug.cgi?id=12088 --- You are receiving this mail because: ---

[Bug binutils/12088] New: ar/nm plugin use requires GNUTARGET=plugin

2010-10-03 Thread andi-bz at firstfloor dot org
igned at sources dot redhat dot com ReportedBy: andi-bz at firstfloor dot org CC: bug-binutils at gnu dot org GCC host triplet: x86_64-linux http://sourceware.org/bugzilla/show_bug.cgi?id=12088 --- You are receiving this mail because: --- You are on the CC lis

[Bug binutils/12004] "ar --plugin" doesn't work with more than 9 files

2010-09-16 Thread andi-bz at firstfloor dot org
131 http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/plugin.c.diff?cvsroot=src&r1=1.8&r2=1.9 --- Additional Comments From andi-bz at firstfloor dot org 2010-09-16 10:13 --- Thanks for the patch! -- http://sourceware.org/bugzilla/show_bug.cgi?id=12004 --- You are rec

[Bug binutils/12004] "ar --plugin" doesn't work with more than 9 files

2010-09-15 Thread andi-bz at firstfloor dot org
--- Additional Comments From andi-bz at firstfloor dot org 2010-09-15 15:06 --- Thanks. I'll look for a workround. I guess just increasing the define will work for now. -- http://sourceware.org/bugzilla/show_bug.cgi?id=12004 --- You are receiving this mail because: --

[Bug binutils/12004] assertion fail ../../binutils/bfd/plugin.c:250 while using ar with gcc lto plugin

2010-09-11 Thread andi-bz at firstfloor dot org
--- Additional Comments From andi-bz at firstfloor dot org 2010-09-11 10:58 --- The libiberty build dir is too large to attach, but can be downloaded from http://firstfloor.org/~andi/libiberty.tar.bz2 -- What|Removed |Added

[Bug binutils/12004] assertion fail ../../binutils/bfd/plugin.c:250 while using ar with gcc lto plugin

2010-09-11 Thread andi-bz at firstfloor dot org
--- Additional Comments From andi-bz at firstfloor dot org 2010-09-11 10:55 --- Created an attachment (id=4975) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4975&action=view) /home/andi/gcc/plugin-ar plugin-ar script, that calls ar with plugin arguments Needs like

[Bug binutils/12004] New: assertion fail ../../binutils/bfd/plugin.c:250 while using ar with gcc lto plugin

2010-09-11 Thread andi-bz at firstfloor dot org
oduct: binutils Version: 2.21 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: andi-bz at firstfloor dot org CC: bug-binutils at gn

[Bug binutils/11991] ar --plugin does not use plugin

2010-09-08 Thread andi-bz at firstfloor dot org
--- Additional Comments From andi-bz at firstfloor dot org 2010-09-08 14:25 --- Never mind. I resolved it with Rafael privately. The trick is to use GNUTARGET=plugin, but that isn't documented anywhere (should be probably) I think there are still some issues with the plugin, but

[Bug binutils/11988] plugin claimed symbols are not used for ar resolution

2010-09-07 Thread andi-bz at firstfloor dot org
--- Additional Comments From andi-bz at firstfloor dot org 2010-09-07 13:33 --- Thanks. Looks like the ar plugin is easier and I guess one could use an ar wrapper for it. The main problem I have with it currently is that it doesn't work :/ See http://sourceware.org/bug

[Bug binutils/11991] New: ar --plugin does not use plugin

2010-09-07 Thread andi-bz at firstfloor dot org
: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: andi-bz at firstfloor dot org CC: bug-binutils at gnu dot org GCC host triplet: x86_64-linux http://sourcewar

[Bug binutils/11988] plugin claimed symbols are not used for ar resolution

2010-09-06 Thread andi-bz at firstfloor dot org
--- Additional Comments From andi-bz at firstfloor dot org 2010-09-07 06:49 --- On further consideration I suspect patching the makefiles to pass the plugin to ar would be complicated (one goal of gcc LTO is to avoid patching makefiles as much as possible) Would it be possible to let

[Bug binutils/11988] plugin claimed symbols are not used for ar resolution

2010-09-06 Thread andi-bz at firstfloor dot org
--- Additional Comments From andi-bz at firstfloor dot org 2010-09-07 05:14 --- I see. I didn't know that. I'll look into fixing ar then. Thanks. -- http://sourceware.org/bugzilla/show_bug.cgi?id=11988 --- You are receiving this mail because: --- You are on the C

[Bug gold/11988] plugin claimed symbols are not used for ar resolution

2010-09-06 Thread andi-bz at firstfloor dot org
--- Additional Comments From andi-bz at firstfloor dot org 2010-09-06 16:50 --- Created an attachment (id=4966) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4966&action=view) test case Run make. Needs gcc 4.5+ with linker plugin. -- http://sourceware.org/b

[Bug gold/11988] New: plugin claimed symbols are not used for ar resolution

2010-09-06 Thread andi-bz at firstfloor dot org
y: P2 Component: gold AssignedTo: ian at airs dot com ReportedBy: andi-bz at firstfloor dot org CC: bug-binutils at gnu dot org GCC host triplet: x86_64-linux http://sourceware.org/bugzilla/show_bug.cgi?id=11988 --- You are receiving this mail because: --- You

[Bug gold/11108] New: gold doesn't build Linux kernel 2.6.33-rc1 allyesconfig

2009-12-19 Thread andi-bz at firstfloor dot org
Priority: P2 Component: gold AssignedTo: ian at airs dot com ReportedBy: andi-bz at firstfloor dot org CC: bug-binutils at gnu dot org GCC build triplet: x86_64-linux GCC host triplet: x86_64-linux GCC target triplet: x86_64-linux http://sourceware.or

[Bug gold/10156] New: gold crashes while building x86-64 linux kernel

2009-05-16 Thread andi-bz at firstfloor dot org
ty: P2 Component: gold AssignedTo: ian at airs dot com ReportedBy: andi-bz at firstfloor dot org CC: bug-binutils at gnu dot org GCC host triplet: x86_64-linux GCC target triplet: x86_64-linux http://sourceware.org/bugzilla/show_bug.cgi?id=10156 --- You are receivin