Re: OpenSSH 7.3p1 can't be build on Solaris 10

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
The same result without CFLAGS:

configure:17300: checking for mblen
configure:17356: gcc -o conftest -g -O2 -Wall -Wpointer-arith
-Wuninitialized -Wsign-compare -Wformat-security
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result
-fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset
-fstack-protector-strong -fPIE -D_XOPEN_SOURCE   -Wl,-z,now
-fstack-protector-strong -pie conftest.c -lnsl -lz -lsocket  >&5
In file included from /usr/include/limits.h:17:0,
                 from
/opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/limits.h:168,
                 from
/opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/syslimits.h:7,
                 from
/opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/limits.h:34,
                 from conftest.c:163:
/opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/sys/feature_tests.h:346:2:
error: #error "Compiler or options invalid for pre-UNIX 03 X/Open
applications     and pre-2001 POSIX applications"
 #error "Compiler or options invalid for pre-UNIX 03 X/Open applications \
  ^
configure:17362: $? = 1
configure: failed program was:


01.08.2016 20:52, Darren Tucker пишет:
> On Tue, Aug 2, 2016 at 12:42 AM, Yuri Voinov <yvoinov@xxxxxxxxx> wrote:
> [...]
>>
/opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/sys/feature_tests.h:346:2:
>> error: #error "Compiler or options invalid for pre-UNIX 03 X/Open
>> applications     and pre-2001 POSIX applications"
>
> What's the code around line 364 of
>
/opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/sys/feature_tests.h,
> especially the enclosing ifdefs?
>
> [..]
>> Seems can't. But why? 7.2 does.
>
> Dunno, I can't think of any obvious changes to compiler flags.  Maybe
> try it without setting CFLAGS?
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXn2TdAAoJENNXIZxhPexGYmUH+gLxj08Xmva5sPYxIJ164wEH
mHarbrR9l+mwaH7HDWYDxsCPTSzcF67lwFfT3xmXxSPUnNEwgvT6QRmzlOzL0BEH
ely6nTnFoJYjfon/w9dny2eQLLaBHkg0BmgPIe+ljrIiV05LRDNUz7IBFfHsMtgp
edeAGI1shJPAud52u/FMFX/uxyjsAFH88dw4VeBI4EO4DlrkFgW8SYznqRHbubq5
Qk9AfHQqZUwGIsgnmiiwiZmXjn1nQcK/E4a2fiEiiU/Uwg+1OhhFSmXFxQUiiIXR
wxWfF/H3ldUHkovVW+xwO8agJnm9/bVAeVYDVULwwUtgnTdIwwOSQUEP3wlNiZg=
=UipS
-----END PGP SIGNATURE-----

Attachment: 0x613DEC46.asc
Description: application/pgp-keys

_______________________________________________
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