duma FTBFS in intrepid/jaunty

Bug #309732 reported by Cesare Tirabassi
2
Affects Status Importance Assigned to Milestone
duma (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

duma FTBFS with the following error message:

duma.c: In function '_duma_allocate':
duma.c:2422: sorry, unimplemented: inlining failed in call to 'memcpy': redefined extern inline functions are not considered for inlining
duma.c:1186: sorry, unimplemented: called from here

The relevant code is:

duma.c: 1186
memcpy(newAllocation, _duma_g.allocList, _duma_s.allocListSize);
.
.
.
duma.c 2422
void * memcpy(void *dest, const void *src, size_t size)
{
  return _duma_memcpy(dest, src, size DUMA_PARAMS_UK);
}

duma is a library to detect buffer overruns and under-runs which "overloads" all standard memory allocation functions.
This "overloading" is apparently clashing with -D_FORTIFY_SOURCE=2.

Passing CFLAGS+="-U_FORTIFY_SOURCE" in debian/rules does indeed solve the problem.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package duma - 2.5.14-2ubuntu1

---------------
duma (2.5.14-2ubuntu1) jaunty; urgency=low

  * Fix FTBS (LP: #309732):
    add CFLAGS+="-U_FORTIFY_SOURCE" in debian/rules since Ubuntu
    default -D_FORTIFY_SOURCE=2 clashes with duma overloading all
    standard memory allocation functions.

 -- Cesare Tirabassi <email address hidden> Fri, 19 Dec 2008 18:22:32 +0100

Changed in duma:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.