Hello, in my quest to get the Fiasco tree buildable on FreeBSD I encountered the following problem (this is with gendep compiled with VERBOSE=1) [...] echo BID_LIBGENDEP=/home/blitz/src/l4/tool/gendep/libgendep.so
./.Makeconf.bid.converted; echo 'BUILD_PIC += $(BUILD_LOADER_PICS)'
./.Makeconf.bid.converted set -e; X="tmp.$$$RANDOM.c" ; echo 'int main(void){}'>$X ; rm -f $X.out ; LD_PRELOAD=/home/blitz/src/l4/tool/gendep/libgendep.so GENDEP_SOURCE=$X GENDEP_OUTPUT=$X.out gcc33 -c $X -o $X.o; test -e $X.out; echo INT_CPP_x86_NAME=`cat $X.out` >>./.Makeconf.bid.converted; rm -f $X $X.{o,out}; fopen(/proc/self/cmdline) real_fopen(/proc/self/cmdline) gendep: Cannot resolve fopen(): Unknown error: 0
It seems that RTLD magic is somehow broken, but I cannot say how... if someone has a hint, I am all ears. My patches to gendep are attached. Regards, -- Julian Stecklina (Of course SML does have its weaknesses, but by comparison, a discussion of C++'s strengths and flaws always sounds like an argument about whether one should face north or east when one is sacrificing one's goat to the rain god.) -- Thant Tessman
On Sat, 3 Sep 2005 19:13:14 +0200 Julian Stecklina <der_julian@web.de> wrote:
Hello,
in my quest to get the Fiasco tree buildable on FreeBSD I encountered the following problem (this is with gendep compiled with VERBOSE=1)
[...] echo BID_LIBGENDEP=/home/blitz/src/l4/tool/gendep/libgendep.so
./.Makeconf.bid.converted; echo 'BUILD_PIC += $(BUILD_LOADER_PICS)'
./.Makeconf.bid.converted set -e; X="tmp.$$$RANDOM.c" ; echo 'int main(void){}'>$X ; rm -f $X.out ; LD_PRELOAD=/home/blitz/src/l4/tool/gendep/libgendep.so GENDEP_SOURCE=$X GENDEP_OUTPUT=$X.out gcc33 -c $X -o $X.o; test -e $X.out; echo INT_CPP_x86_NAME=`cat $X.out` ./.Makeconf.bid.converted; rm -f $X $X.{o,out}; fopen(/proc/self/cmdline) real_fopen(/proc/self/cmdline) gendep: Cannot resolve fopen(): Unknown error: 0
It seems that RTLD magic is somehow broken, but I cannot say how... if someone has a hint, I am all ears. My patches to gendep are attached.
Ok, I solved the problem. Sorry, for the noise. Regards, -- Julian Stecklina (Of course SML does have its weaknesses, but by comparison, a discussion of C++'s strengths and flaws always sounds like an argument about whether one should face north or east when one is sacrificing one's goat to the rain god.) -- Thant Tessman
participants (1)
-
Julian Stecklina