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: Quality Assurance
Classification: Unclassified
Component: Trackers (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 591312 634822 638066 638888 640618 642284 642492 686620 700902 709014 717908 818400 829270 201102 295682 348387 371527 371561 454006 498632 532088 558436 638172 643086 659460 663976 664860 666448 673472 676062 686914 700190 805974 830275
Blocks:
  Show dependency tree
 
Reported: 2011-06-13 22:01 UTC by Matt Turner
Modified: 2021-12-31 03:19 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.