Bug 759038 - bltest has alignment errors on ARM
Summary: bltest has alignment errors on ARM
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: nss
Version: 19
Hardware: arm
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Elio Maldonado Batiz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-01 10:06 UTC by Gordan Bobic
Modified: 2014-02-13 13:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-13 13:11:45 UTC
Type: ---


Attachments (Terms of Use)

Description Gordan Bobic 2011-12-01 10:06:15 UTC
Description of problem:
bltest is throwing alignment errors on the armv5tel platform.

Version-Release number of selected component (if applicable):
nss-3.12.10-2

How reproducible:
Every time.

Steps to Reproduce:
1. Boot the system with kernel boot parameter alignment=3 to enable fixup+warn
2. rpmbuild --rebuild nss-3.12.10-2.src.rpm
3. Check dmesg
  
Actual results:

Here is the sort of thing that gets reported in the system log when alignment warnings are enabled:
...
Alignment trap: bltest (15423) PC=0x402b21a0 Instr=0xe1c510b4 Address=0x00147e5d FSR 0x801
Alignment trap: bltest (15423) PC=0x402b21ac Instr=0xe1c520b6 Address=0x00147e5f FSR 0x801
Alignment trap: bltest (15429) PC=0x402b2190 Instr=0xe1c530b0 Address=0x00147e5b FSR 0x801
Alignment trap: bltest (15429) PC=0x402b2198 Instr=0xe1c5c0b2 Address=0x00147e5d FSR 0x801
Alignment trap: bltest (15429) PC=0x402b21a0 Instr=0xe1c510b4 Address=0x00147e5f FSR 0x801
Alignment trap: bltest (15429) PC=0x402b21ac Instr=0xe1c520b6 Address=0x00147e61 FSR 0x801
Alignment trap: bltest (15435) PC=0x402b2190 Instr=0xe1c530b0 Address=0x00147e5d FSR 0x801
Alignment trap: bltest (15435) PC=0x402b2198 Instr=0xe1c5c0b2 Address=0x00147e5f FSR 0x801
Alignment trap: bltest (15435) PC=0x402b21a0 Instr=0xe1c510b4 Address=0x00147e61 FSR 0x801
Alignment trap: bltest (15435) PC=0x402b21ac Instr=0xe1c520b6 Address=0x00147e63 FSR 0x801
Alignment trap: bltest (15441) PC=0x402b2190 Instr=0xe1c530b0 Address=0x00147e5f FSR 0x801
Alignment trap: bltest (15441) PC=0x402b2198 Instr=0xe1c5c0b2 Address=0x00147e61 FSR 0x801
Alignment trap: bltest (15441) PC=0x402b21a0 Instr=0xe1c510b4 Address=0x00147e63 FSR 0x801
...

If alignment fixup is not enabled, the rc2 tests will fail and thus the build will fail.

Expected results:
The build should succeed without alignment errors.

Additional info:
Recent ARMv7 chips includes automatic alignment fix-up in hardware, so testing
for this has to be done on an ARMv6 processor or earlier.

Comment 1 Fedora End Of Life 2013-04-03 14:48:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 2 Gordan Bobic 2014-02-13 13:11:45 UTC
This no longer appears to occur since nss-3.15.x. The last affected version was 3.14.x.


Note You need to log in before you can comment on or make changes to this bug.