bugDotGNU Portable.NET - Bugs: bug #10906, compile failure with ancient glibc

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #10906: compile failure with ancient glibc

Submitted by:  Norbert Bollow <nb>
Submitted on:  Thu 04 Nov 2004 11:27:38 AM UTC  
 
Category: NoneSeverity: 1 - Wish
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 23 Nov 2004 10:54:12 AM UTC, comment #1:

Fixed in CVS on 23rd Nov 2004.

Please recompile and confirm fix.

Gopal.V <t3rmin4t0r>
Project Administrator
Thu 04 Nov 2004 11:27:38 AM UTC, original submission:

pnet compilation fails with ancient glibc versions such as e.g. 2.1.2 (in Slackware 8.0).

The problem comes from the registers being defined in that old glibc's sys/ucontext.h as EAX etc instead of REG_EAX etc.

Since the old glibc should be upgraded anyway for independant (security) resons, maybe there's no point in actually supporting ancient glibc's. However if we choose not to support ancient glibc's, we should at least (in configure) check in the case that there is a sys/ucontext.h file that it defines REG_EAX.

<nmrp> make[1]: Entering directory `/tmp/openwebmail2.4/pnet-0.6.10/support'
<nmrp> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../libgc/include -I../include -DCSCC_LIB_PREFIX=\"/usr/local/lib\" -DCSCC_BIN_PREFIX=\"/usr/local/bin\" -DCSCC_DATA_PREFIX=\"/usr/local/share\" -DCSCC_HOST_TRIPLET=\"i686-pc-linux-gnu\" -g -O2 -Wall -c interrupt_posix.c
<nmrp> interrupt_posix.c: In function `__sigaction_handler':
<nmrp> interrupt_posix.c: In function `__sigaction_handler':
<nmrp> interrupt_posix.c:61: `REG_EAX' undeclared (first use in this function)
<nmrp> interrupt_posix.c:61: (Each undeclared identifier is reported only once
<nmrp> interrupt_posix.c:61: for each function it appears in.)

Norbert Bollow <nb>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 23 Nov 2004 10:54:12 AM UTCt3rmin4t0rStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1