DW_TAG_restrict_type (0x37) @ <0x4d5> not handled

Bug #1621013 reported by Patrik Lundquist
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
dwarves-dfsg (Debian)
Fix Released
Unknown
dwarves-dfsg (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

pahole doesn't handle GCC 6 DW_TAG_restrict_type.

die__process_unit: DW_TAG_restrict_type (0x37) @ <0x4d5> not handled!

Support was added upstream in commit 0fbb39291d5996c052ee026308052b3cc5f726e9.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This bug is present in Debian too, and Ubuntu currently doesn't make any changes over the Debian package. So this bug would be best fixed directly in Debian, and then Ubuntu will pick up the fix automatically.

Would you mind filing a bug with Debian please?

tags: added: needs-upstream-report
tags: added: zesty
Changed in dwarves-dfsg (Debian):
status: Unknown → New
Joshua Powers (powersj)
tags: removed: needs-upstream-report
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dwarves-dfsg (Ubuntu):
status: New → Confirmed
Maxime Leroy (mx56)
tags: added: xenial
tags: added: artful bionic
Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Still valid in cosmic as well.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

There is a new upstream release, tagged 1.11: https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-1.11.tar.gz

Current 1.10 one that debian and ubuntu have been carrying is about 6yo

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Quick reproducer, to help test this whenever it gets addressed:
#include <stdio.h>
#include <stdlib.h>

int main(void) {
 char *restrict foo = "Hello world.\n";

 printf("%s", foo);
 exit(0);
}

Compile with -ggdb and then run pahole on the resulting binary:
$ pahole foo
die__process_unit: DW_TAG_restrict_type (0x37) @ <0x91> not handled!

Changed in dwarves-dfsg (Debian):
status: New → Fix Committed
Changed in dwarves-dfsg (Debian):
status: Fix Committed → Fix Released
tags: added: cosmic
Revision history for this message
Robie Basak (racb) wrote :

Reported fixed in Disco in 1.12-1.

If you need a fix for the bug in previous versions of Ubuntu, then the relevant procedure is documented here:

        https://wiki.ubuntu.com/StableReleaseUpdates

Changed in dwarves-dfsg (Ubuntu):
status: Confirmed → 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.