This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dyninst/15422] New: loc2c with 32-on-64 sometimes creates integer-widening-into-pointer gcc warnings


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

             Bug #: 15422
           Summary: loc2c with 32-on-64 sometimes creates
                    integer-widening-into-pointer gcc warnings
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dyninst
        AssignedTo: systemtap@sourceware.org
        ReportedBy: fche@redhat.com
    Classification: Unclassified


% gcc ./systemtap.base/cu-decl-1.c ./systemtap.base/cu-decl-2.c -g -m32 -O2 -lm
-o cu-decl

% stap -v -p4 -e 'probe process("cu-decl").function("print") {println($f->x *
$f->y) }' --runtime=dyninst

/tmp/stapb7hp2n/stap_c8ada6f96d1aba83f5a27e6098aafac2_4646_src.c: In function
'function__dwarf_tvar_get_f_2':
/notnfs/systemtap/INST/share/systemtap/runtime/dyninst/loc2c-runtime.h:51:21:
error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
  case 1: _i = uread((u8 *)(addr)); break; \
                     ^
[...]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]