[
https://issues.apache.org/jira/browse/TS-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876337#comment-13876337
]
Igor Galić commented on TS-1689:
--------------------------------
installed gcc-4.7 and gcc-4.8 on Omni
{code}
igalic@omnios-x64 ~ % /opt/gcc-4.8.1/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/opt/gcc-4.8.1/bin/gcc
COLLECT_LTO_WRAPPER=/opt/gcc-4.8.1/libexec/gcc/i386-pc-solaris2.11/4.8.1/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ./configure --prefix=/opt/gcc-4.8.1 --host i386-pc-solaris2.11
--build i386-pc-solaris2.11 --target i386-pc-solaris2.11
--with-boot-ldflags=-R/opt/gcc-4.8.1/lib --with-gmp=/opt/gcc-4.8.1
--with-mpfr=/opt/gcc-4.8.1 --with-mpc=/opt/gcc-4.8.1
--enable-languages=c,c++,fortran,lto --enable-ld=no --with-as=/usr/bin/gas
--with-gnu-as --with-build-time-tools=/usr/gnu/i386-pc-solaris2.11/bin
Thread model: posix
gcc version 4.8.1 (GCC)
igalic@omnios-x64 ~ % /opt/gcc-4.7.2/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/opt/gcc-4.7.2/bin/gcc
COLLECT_LTO_WRAPPER=/opt/gcc-4.7.2/libexec/gcc/i386-pc-solaris2.11/4.7.2/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ./configure --prefix=/opt/gcc-4.7.2 --host i386-pc-solaris2.11
--build i386-pc-solaris2.11 --target i386-pc-solaris2.11
--with-boot-ldflags=-R/opt/gcc-4.7.2/lib --with-gmp=/opt/gcc-4.7.2
--with-mpfr=/opt/gcc-4.7.2 --with-mpc=/opt/gcc-4.7.2
--enable-languages=c,c++,fortran,lto --enable-ld=no --with-as=/usr/bin/gas
--with-gnu-as --with-build-time-tools=/usr/gnu/i386-pc-solaris2.11/bin
Thread model: posix
gcc version 4.7.2 (GCC)
igalic@omnios-x64 ~ %
{code}
> Wccp doesn't compile on OmniOS/gcc-4.7
> --------------------------------------
>
> Key: TS-1689
> URL: https://issues.apache.org/jira/browse/TS-1689
> Project: Traffic Server
> Issue Type: Bug
> Components: Build
> Reporter: Igor Galić
> Assignee: Igor Galić
> Fix For: 4.2.0
>
>
> {noformat}
> CXX WccpStatic.o
> WccpStatic.cc: In function ‘uint32_t wccp::Get_Local_Address(int)’:
> WccpStatic.cc:62:21: error: ‘SIOCGIFCONF’ was not declared in this scope
> WccpStatic.cc: In function ‘ts::Errata wccp::log_errno(ts::Errata::Code,
> const char*)’:
> WccpStatic.cc:150:78: error: ‘strerror_r’ was not declared in this scope
> WccpStatic.cc: In function ‘ts::Errata wccp::vlogf_errno(ts::Errata::Code,
> const char*, __va_list_tag (&)[1])’:
> WccpStatic.cc:165:35: error: ‘strerror_r’ was not declared in this scope
> WccpStatic.cc: In function ‘ts::Errata wccp::log_errno(ts::Errata::Code,
> const char*)’:
> WccpStatic.cc:151:1: error: control reaches end of non-void function
> [-Werror=return-type]
> cc1plus: all warnings being treated as errors
> gmake: *** [WccpStatic.o] Error 1
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)