[Bug gas/2533] New: Internal error

2006-04-10 Thread remy dot saissy at gmail dot com
Hi,
I've got this error:
[CC] start.S
start.S: Assembler messages:
start.S:23: Internal error, aborting at ../../gas/config/tc-i386.c line 2108 in
optimize_imm
Please report this bug.
make: *** [start.o] Error 1

The compilation line is:
gcc -c -o start.o start.S -ffreestanding -std=gnu99 -Wall -Werror -nostdinc
-fno-builtin -nostdinc -nostdlib -I../include -I../ -D__ASM__

and here is the code :
[...]
[22]addl$prologue,  %ebx
[23]permission_map_set_prologue gl_perms %ebx
[...]

the content of the macro is:
.macro permission_map_set_prologue  pmap, prologue
  movl  $\prologue, \pmap + PERMISSION_MAP_SET_PROLOGUE_OFFSET
.endm

with PERMISSION_MAP_SET_PROLOGUE:
#define PERMISSION_MAP_PROLOGUE_OFFSET  0

I hope this is enough.
Have a great day.

-- 
   Summary: Internal error
   Product: binutils
   Version: 2.16
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: remy dot saissy at gmail dot com
CC: bug-binutils at gnu dot org


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

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


binutils

2006-04-10 Thread Janardhan Molumuri
Hi,
 
I am using binutils v2.16.1 on solaris 10 x86, I compiled with option --enable--64bfd-bfd, but the binaries (size,nm etc) couldn't recognize amd64 binaries. 
 
/usr/sfw/i386-sun-solaris2.10/bin/nm works just fine.
 
Error:
$ nm -p /lib/amd64/libc.so.1 nm: /lib/amd64/libc.so.1: File format not recognized
 
It seems the target amd64-pc-solaris2.10 support is not included in binutils, are there are any plans of including it.
 
Regards,
-Janardhan.
___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


binutils

2006-04-10 Thread Janardhan Molumuri
Hi,

I am using binutils v2.16.1 on solaris 10 x86, I compiled with option
--enable--64bfd-bfd, but the binaries (size,nm etc) couldn't recognize
amd64 binaries.

/usr/sfw/i386-sun-solaris2.10/bin/nm works just fine.

Error:
$ nm -p /lib/amd64/libc.so.1 nm: /lib/amd64/libc.so.1: File format not
recognized

It seems the target amd64-pc-solaris2.10 support is not included in
binutils, are there are any plans of including it.

Regards,
-JNR.


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


Re: gprof

2006-04-10 Thread susukita
Hi Nick,

> > $ time ./a.out
> > real0m4.324s
> 
> > $ gprof a.out
> > Each sample counts as 0.01 seconds.
> >   %   cumulative   self  self total   
> >  time   seconds   secondscalls   s/call   s/call  name
> >   9.46 43.22 4.09 rand
> 
> This looks like a gprof bug.  Specifically I would guess that either the 
> sample period is incorrect or else the clock frequency calculated by the 
> gprof/hertz.c:hertz() function is wrong.

Thank you.
If this is a gprof bug and fixed in a future release of binutils, it
will be helpful.

SUSUKITA,Ryutaro


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