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

Submitter:  Norbert Bollow <nb>
Submitted:  Thu 04 Nov 2004 11:27:38 AM UTC
   
 
Category:  None Severity:  1 - Wish
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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>
Group 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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-11-23 t3rmin4t0r StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.15-94dd.
Corresponding source code