#1254 assigned defect

Power PC setjmp broken on Altivec machines

Reported by: Eric Norum Owned by: Needs Funding
Priority: normal Milestone: Indefinite
Component: tool/newlib Version: 4.8
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by Sebastian Huber)

The Power PC version of setjmp/longjmp in newlib-1.15.0 does not check that the Altivec unit is enabled before attempting to save/restore. A processor exception results.

Till Straumann has sent a patch in a previous mailing list message, but the patch hasn't seemed to make it into the patch file(s) on the RTEMS server.

Attachments (2)

newlibAltivecSetjmp.patch (4.2 KB) - added by Eric Norum on Aug 27, 2007 at 2:35:48 PM.
Here's Till's patch
newlibAltivecSetjmp_v1.patch (3.6 KB) - added by Eric Norum on Aug 27, 2007 at 3:33:31 PM.
Patch with rtems conditionals removed

Download all attachments as: .zip

Change History (7)

Changed on Aug 27, 2007 at 2:35:48 PM by Eric Norum

Attachment: newlibAltivecSetjmp.patch added

Here's Till's patch

Changed on Aug 27, 2007 at 3:33:31 PM by Eric Norum

Patch with rtems conditionals removed

comment:1 Changed on Aug 27, 2007 at 3:33:31 PM by Eric Norum

I will send this to the newlib maintainers, too.

comment:2 Changed on Nov 22, 2014 at 2:49:00 PM by Gedare

Description: modified (diff)
Milestone: 24.9.5

comment:3 Changed on Nov 23, 2014 at 4:05:23 PM by Gedare

Version: unknown4.8

comment:4 Changed on Jan 23, 2017 at 6:47:45 AM by Sebastian Huber

Description: modified (diff)
Milestone: 4.9.5Indefinite
Owner: changed from Joel Sherrill to Needs Funding
Status: newassigned

comment:5 Changed on Jan 23, 2017 at 3:41:54 PM by Joel Sherrill

Maybe because it went to the newlib list?

https://sourceware.org/ml/newlib/2007/msg00887.html

Does that change the state of the ticket any? I lean to it needs to be revisited before we cast it to the needs funding category.

Note: See TracTickets for help on using tickets.