Notice: We have migrated to GitLab launching 2024-05-01 see here:

#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:

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 08/27/07 at 14:35:48.
Here's Till's patch
newlibAltivecSetjmp_v1.patch (3.6 KB) - added by Eric Norum on 08/27/07 at 15:33:31.
Patch with rtems conditionals removed

Download all attachments as: .zip

Change History (7)

Changed on 08/27/07 at 14:35:48 by Eric Norum

Attachment: newlibAltivecSetjmp.patch added

Here's Till's patch

Changed on 08/27/07 at 15:33:31 by Eric Norum

Patch with rtems conditionals removed

comment:1 Changed on 08/27/07 at 15:33:31 by Eric Norum

I will send this to the newlib maintainers, too.

comment:2 Changed on 11/22/14 at 14:49:00 by Gedare Bloom

Description: modified (diff)
Milestone: 24.9.5

comment:3 Changed on 11/23/14 at 16:05:23 by Gedare Bloom

Version: unknown4.8

comment:4 Changed on 01/23/17 at 06:47:45 by Sebastian Huber

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

comment:5 Changed on 01/23/17 at 15:41:54 by Joel Sherrill

Maybe because it went to the newlib list?

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.