Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371525 (unaligned-access) - [TRACKER] packages with unaligned accesses
Summary: [TRACKER] packages with unaligned accesses
Status: CONFIRMED
Alias: unaligned-access
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 634822 638066 638888 640618 642492 663976 686620 709014 717908 201102 295682 348387 371527 371561 454006 498632 532088 558436 638172 643086 659460 664860 666448 673472 676062 686914 700190
Blocks:
  Show dependency tree
 
Reported: 2011-06-13 22:01 UTC by Matt Turner
Modified: 2020-07-12 00:53 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2011-06-13 22:01:39 UTC
Unaligned accesses (see: [1]) are bad.

To find the source of unaligned accesses, use sys-apps/prctl and the instructions here [2].

[1] http://en.wikipedia.org/wiki/Segmentation_fault#Bus_error
[2] http://www.gelato.unsw.edu.au/IA64wiki/UnalignedAccesses

No comments here. This is simply a tracker bug.
Comment 1 SpanKY gentoo-dev 2011-07-12 18:46:25 UTC
the kernel on these arches should automatically fixup unaligned access so the code at least works (albeit at a performance penalty).  if they dont, i'd say that's a bad kernel config.

(i dont mind fixing up unaligned programs, but it shouldnt take priority over "real" bugs imo)
Comment 2 Matt Turner gentoo-dev 2011-07-12 19:41:54 UTC
By default (is there some way to change this?) on MIPS and SPARC, unaligned accesses cause SIGBUS. I know other architectures trap unaligned accesses and handle them in the kernel.