Re: (wishlist) Allowing scheme48 to build on hurd-i386

Daniel Moerner <[email protected]>
Newsgroups gmane.lisp.scheme.scheme48
Message-ID <[email protected]>
On Sat, Aug 1, 2009 at 7:59 AM, Michael Sperber<[email protected]> wrote:
>
> Daniel Moerner <[email protected]> writes:
>
>> I'll continue looking into why the function in S48_PTHREADS isn't
>> properly working here. Otherwise, it seems like the simple solution is
>> to force the addition of -pthread to LDFLAGS on gnu* at the end of
>> S48_PTHREADS, but this isn't ideal.
>
> That won't work on some platforms, unfortunately.

Yeah, I presumed as much.

>
>> If you have any insight on what the error might be, I'd be happy to
>> look into it. Thanks for applying the patches!
>
> I don't have the slighest, I'm afraid.  You might try running "sh -x
> configure" so I can see the code where it's crashing.  But "Resource
> lost"?

It's utterly strange, I have no idea what that means. sh -x configure
produces no new information:

+ rm -f conftest
+ ac_try='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
+ case "(($ac_try" in
+ ac_try_echo='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
+ eval 'ac_try_echo="$as_me:8618: $CC -o conftest$ac_exeext $CFLAGS
$CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5"'
++ ac_try_echo='configure:8618: gcc -o conftest -g -O2   -rdynamic
-pthread conftest.c -lnsl -ldl -lm  >&5'
+ printf '%s\n' 'configure:8618: gcc -o conftest -g -O2   -rdynamic
-pthread conftest.c -lnsl -ldl -lm  >&5'
+ ac_status=0
+ printf '%s\n' 'configure:8622: $? = 0'
+ exit 0
+ ac_try='./conftest$ac_exeext'
+ case "(($ac_try" in
+ ac_try_echo='./conftest$ac_exeext'
+ eval 'ac_try_echo="$as_me:8628: ./conftest$ac_exeext"'
++ ac_try_echo='configure:8628: ./conftest'
+ printf '%s\n' 'configure:8628: ./conftest'
+ ac_status=160
+ printf '%s\n' 'configure:8632: $? = 160'
+ exit 160
+ printf '%s\n' 'configure: program exited with status 160'
+ printf '%s\n' 'configure: failed program was:'
+ sed 's/^/| /' conftest.c
+ exit 160

I'll post a full report on the mailing lists in the next few days,
CC'ing scheme-48-bugs, to see if someone has any ideas.

Thanks for looking into this.

Daniel

-- 
Daniel Moerner <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.