Issue 28761 - Linux compile with newer glibc's
Summary: Linux compile with newer glibc's
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 1.1.2
Assignee: jens-heiner.rechtien
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-05 13:35 UTC by mmeeks
Modified: 2004-06-21 14:44 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mmeeks 2004-05-05 13:35:03 UTC
Index: sal/osl/unx/semaphor.c
===================================================================
RCS file: /cvs/porting/sal/osl/unx/semaphor.c,v
retrieving revision 1.2
diff -u -p -u -r1.2 semaphor.c
--- sal/osl/unx/semaphor.c	1 Mar 2001 13:26:57 -0000	1.2
+++ sal/osl/unx/semaphor.c	5 May 2004 12:27:28 -0000
@@ -85,7 +85,7 @@
 typedef struct {
 	struct { long status; int spinlock; } sem_lock;
 	int sem_value;
-	_pthread_descr sem_waiting;
+	void *sem_waiting;
 } glibc_21_sem_t;
 #endif
Comment 1 Martin Hollmichel 2004-05-12 14:29:23 UTC
heiner, can you please review.
Comment 2 jens-heiner.rechtien 2004-05-18 14:58:40 UTC
Hi Michael,

I would prefer to remove this glibc_2.0/2.1 hack completly, it's obsolete
anyway. Would that solve your problem?

Comment 3 mmeeks 2004-05-18 16:50:57 UTC
sure; as long as the fix hits the 645 and 680 branch I'm ecstatic :-)
Comment 4 jens-heiner.rechtien 2004-05-18 18:00:57 UTC
Change target to OOO 1.1.3.
Comment 5 jens-heiner.rechtien 2004-05-18 18:01:23 UTC
Fixed on ooo112fix2
Comment 6 jens-heiner.rechtien 2004-05-18 18:01:44 UTC
Verify.
Comment 7 jens-heiner.rechtien 2004-05-18 18:23:33 UTC
Fixed on hr3 (SRC680)
Comment 8 jens-heiner.rechtien 2004-05-19 13:02:16 UTC
Fix will go into SRC680 m40 via CWS hr4.
Comment 9 jens-heiner.rechtien 2004-05-24 13:15:50 UTC
Closing.
Comment 10 sander_traveling 2004-06-21 14:15:09 UTC
set milestone back to 1.1.2
Comment 11 jens-heiner.rechtien 2004-06-21 14:44:03 UTC
Sander,

why 1.1.2? That one is out!

Heiner