Summary: | erlang-10.2.10 incompatibility with glibc-2.4. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matteo Azzali (RETIRED) <mattepiu> |
Component: | Current packages | Assignee: | Emacs project <emacs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lang-misc+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matteo Azzali (RETIRED)
2006-04-24 06:43:47 UTC
hum, no the epoll patch seems already applied, the unrecognized format was about unpack. So I'm without clues.... more info : basically in the configure logs I found it got an error since couldn't find pthread/mit/pthread.h and nptl/pthread.h files. these were the config.log files cointaining "checking size of void" : erts/config.log: configure: In function 'main': configure:4459: warning: incompatible implicit declaration of built-in function 'exit' configure:4484: checking size of void * configure:4503: gcc -o conftest -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/var/tmp/portage/erlang-10.2.10/work/otp_src_R10B-10/erts/i686-pc-linux-gnu -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -ldl -lm 1>&5 configure: In function 'main': configure:4497: warning: incompatible implicit declaration of built-in function 'exit' lib/erl_interface/config.log: configure:2593: checking for pthread.h configure:2603: gcc -E conftest.c >/dev/null 2>conftest.out configure:2629: checking for pthread/mit/pthread.h configure:2639: gcc -E conftest.c >/dev/null 2>conftest.out configure:2635:33: error: pthread/mit/pthread.h: No such file or directory configure: failed program was: #line 2634 "configure" #include "confdefs.h" #include <pthread/mit/pthread.h> configure:2668: checking for Native POSIX Thread Library configure:2679: checking for nptl/pthread.h configure:2689: gcc -E conftest.c >/dev/null 2>conftest.out configure:2685:26: error: nptl/pthread.h: No such file or directory configure: failed program was: #line 2684 "configure" #include "confdefs.h" #include <nptl/pthread.h> Thanks to gentoo-dev I now know these files belongs to glibc + nptl use flag. But my glibc-2.4-r1 HAS nptl and nptlonly...... so I guess the issue is incompatibility with glibc-2.4 . Not sure about what changed, but now erlang compiles fine. Suspected packages that I udpated (all from unstable to another newer unstable release) are: gcc (4.1) glibc (new patchset) linux-headers pax-utils gentoo-sources |