[erlang-questions] R12B-3 doesn't compile with glibc-2.8

Mikael Pettersson <>
Wed Jul 2 01:00:14 CEST 2008


Claes Wikström writes:
 > Mikael Pettersson wrote:
 > > Alpár Jüttner writes:
 > >  > Hi,
 > >  > 
 > >  > There is a line
 > >  > 
 > >  > #if __GLIBC__ == 2 && (__GLIBC_MINOR__ >= 3 && __GLIBC_MINOR__ <= 7)
 > >  > 
 > >  > in otp_src_R12B-3/erts/emulator/hipe/hipe_x86_signal.c, which causes a
 > >  > compilation error with glibc-2.8.
 > >  > Can I safely change the 7 to 8 in this line?
 > > 
 > > Yes.
 > 
 > Since we've been doing this exact change for the past ... like 3 years
 > it seems like a good idea to throw in a 9, a 10 and an 11 as
 > well :-)

The check will be simplified to "glibc >= 2.3".
The reasons for the check and the rationale for
the simplification was posted in a reply to a
bug report from the Gentoo people, but that reply
may have gone to erlang-bugs not erlang-questions.

/Mikael



More information about the erlang-questions mailing list