Re: vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Fri, 2018-06-08 at 11:52 +1000, Darren Tucker wrote:
> On 8 June 2018 at 11:21, PGNet Dev <pgnet.dev@xxxxxxxxx> wrote:
> > fyi
> > 
> > add'l -- and looks unrelated -- issue
> >         /usr/include/pthread.h:251:12: note: previous declaration
> > of ‘pthread_join’ was here
> >          extern int pthread_join (pthread_t __th, void
> > **__thread_return);
> 
> What included pthread.h?  That's explicitly not supported by sshd:
> 
> $ grep THREAD auth-pam.c
> #ifdef USE_POSIX_THREADS
> # error "USE_POSIX_THREADS replaced by
> UNSUPPORTED_POSIX_THREADS_HACK"
>  * Formerly known as USE_POSIX_THREADS, using this is completely
> unsupported
> #ifdef UNSUPPORTED_POSIX_THREADS_HACK

The pthread.h was first included in the new OpenSSL 1.1.0, which uses
pthread.h and which conflicts with your pthread definitions.
This can be resolved by the first part of the OpenSSL 1.1.0 patch,
which we carry ever since:

https://src.fedoraproject.org/rpms/openssh/blob/master/f/openssh-7.3p1-
openssl-1.1.0.patch

Regards,
-- 
Jakub Jelen
Software Engineer
Security Technologies
Red Hat, Inc.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux