'as' fails on inline assembly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils |
Unknown
|
Unknown
|
|||
binutils (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
There was a problem in GCC when I added some inline assembly.
as: BFD (GNU Binutils for Ubuntu) 2.22 assertion fail ../../bfd/
as: BFD (GNU Binutils for Ubuntu) 2.22 internal error, aborting at ../../bfd/elfcode.h line 229 in bfd_elf32_
as: Please report this bug.
.......
inline assembly:
__asm__(
"_start:"
"jz _final ;" /* if the comparison is 0 then jump to _final label */
"jz _skipadd;"
"_skipadd:"
"_final:" /* final location */
/* now we have to restore the registers */
);
.......
System information
naveen@
Linux naveen-ubuntu 3.2.0-29-
affects: | ubuntu → gcc-defaults (Ubuntu) |
affects: | gcc-4.6 (Ubuntu) → binutils (Ubuntu) |
summary: |
- GNU CC compiler + 'as' fails on inline assembly |
Changed in binutils (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
It looks like you're running Precise, so this is probably the GCC package you're running.