source: scripts/patch/gcc/4.4.0/10-libgomp_multilib-fixes.patch @ 76c9fbb

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 76c9fbb was 76c9fbb, checked in by Jim Gifford <clfs@…>, 11 years ago

Modifications to GCC to fix PPC Build Issues

  • Property mode set to 100644
File size: 580 bytes
RevLine 
[d8a9d8b]12008-06-09  Jakub Jelinek  <jakub@redhat.com>
2
3        * omp.h.in (omp_nest_lock_t): Fix up for Linux multilibs.
4
5diff -Naur gcc-4.4.0.orig/libgomp/omp.h.in gcc-4.4.0/libgomp/omp.h.in
6--- gcc-4.4.0.orig/libgomp/omp.h.in     2009-04-09 16:23:07.000000000 -0700
[76c9fbb]7+++ gcc-4.4.0/libgomp/omp.h.in  2009-07-14 09:41:08.000000000 -0700
[d8a9d8b]8@@ -39,8 +39,8 @@
9 
10 typedef struct
11 {
12-  unsigned char _x[@OMP_NEST_LOCK_SIZE@]
13-    __attribute__((__aligned__(@OMP_NEST_LOCK_ALIGN@)));
14+  unsigned char _x[8 + sizeof (void *)]
15+    __attribute__((__aligned__(sizeof (void *))));
16 } omp_nest_lock_t;
17 #endif
18 
Note: See TracBrowser for help on using the repository browser.