Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPLrYES+PazorMKaPAuXzZEhSyZmpqU9uyqvdkBzJL0ZDeK66g@mail.gmail.com>
Date: Fri, 29 Mar 2013 00:46:02 +0100
From: Daniel Cegiełka <daniel.cegielka@...il.com>
To: musl@...ts.openwall.com
Subject: Re: musl and gcc-4.8 (sabotage)

>
> as you can see, the string os/generic is missing after config/
>
> this section in your patch should make it pick that:
>
> +    # check for musl by target
> +    case "${host_os} in
> +      *-musl*)
> +        os_include_dir="os/generic"
> +        ;;
> +      *)
> +
>
>
> i'd try adding some debug code into that configure script and see what the
> actual values are and why that path is not taken.

I forced os-generic (works with musl). But now I have a new error
(libsanitizer):


In file included from
../../.././libsanitizer/sanitizer_common/sanitizer_common.h:17:0,
                 from
../../.././libsanitizer/sanitizer_common/sanitizer_linux.cc:14:
../../.././libsanitizer/sanitizer_common/sanitizer_linux.cc: In
function 'void __sanitizer::GetThreadStackTopAndBottom(bool,
__sanitizer::uptr*, __sanitizer::uptr*)':
../../.././libsanitizer/sanitizer_common/sanitizer_linux.cc:201:52:
error: 'pthread_getattr_np' was not declared in this scope
   CHECK_EQ(pthread_getattr_np(pthread_self(), &attr), 0);
                                                    ^
../../.././libsanitizer/sanitizer_common/sanitizer_internal_defs.h:174:33:
note: in definition of macro 'CHECK_IMPL'
     __sanitizer::u64 v1 = (u64)(c1); \
                                 ^
../../.././libsanitizer/sanitizer_common/sanitizer_linux.cc:201:3:
note: in expansion of macro 'CHECK_EQ'
   CHECK_EQ(pthread_getattr_np(pthread_self(), &attr), 0);
   ^
make[4]: *** [sanitizer_linux.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:
/var/tmp/ports/gcc/work/gcc-4.8.0-RC-20130316/host-x86_64-pc-linux-musl/gcc/xgcc
-shared-libgcc -B/var/tmp/ports/gcc/work/gcc-4.8.0-RC-20130316/host-x86_64-p$
mv -f .deps/sanitizer_libc.Tpo .deps/sanitizer_libc.Plo
make[4]: Leaving directory
`/var/tmp/ports/gcc/work/gcc-4.8.0-RC-20130316/x86_64-pc-linux-musl/libsanitizer/sanitizer_common'
make[3]: *** [all-recursive] Error 1


Daniel

Download attachment "gcc-4.8-musl.diff" of type "application/octet-stream" (14495 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.