https://bz.apache.org/bugzilla/show_bug.cgi?id=63633

            Bug ID: 63633
           Summary: httpd 2.4.40 build fails on RHEL5 due to
                    -Wno-error=comment
           Product: Apache httpd-2
           Version: 2.4.39
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I think the test to check if the function is available in GCC is wrong - or
maybe has the logic backwards

make[3]: Entering directory `/root/build/httpd-2.4.40/modules/filters'
Building shared: mod_buffer.la mod_data.la mod_ratelimit.la mod_reqtimeout.la
mod_ext_filter.la mod_request.la mod_include.la mod_filter.la mod_reflector.la
mod_substitute.la mod_sed.la mod_charset_lite.la mod_deflate.la mod_xml2enc.la
mod_proxy_html.la
make[4]: Entering directory `/root/build/httpd-2.4.40/modules/filters'
/apps/was/apache/build-1/libtool --silent --mode=compile gcc -std=gnu99
-I/usr/include/libxml2 -pthread  -O3 -march=core2 -fPIE -fstack-protector-all
-D_FORTIFY_SOURCE=2   -Wno-error=comment -DLINUX -D_REENTRANT -D_GNU_SOURCE    
-I. -I/root/build/httpd-2.4.40/os/unix -I/root/build/httpd-2.4.40/include
-I/apps/was/apache/include/apr-1 -I/apps/was/apache/include
-I/root/build/httpd-2.4.40/modules/aaa -I/root/build/httpd-2.4.40/modules/cache
-I/root/build/httpd-2.4.40/modules/core
-I/root/build/httpd-2.4.40/modules/database
-I/root/build/httpd-2.4.40/modules/filters
-I/root/build/httpd-2.4.40/modules/ldap -I/root/build/httpd-2.4.40/server
-I/root/build/httpd-2.4.40/modules/loggers
-I/root/build/httpd-2.4.40/modules/lua -I/root/build/httpd-2.4.40/modules/proxy
-I/root/build/httpd-2.4.40/modules/http2
-I/root/build/httpd-2.4.40/modules/session
-I/root/build/httpd-2.4.40/modules/ssl -I/root/build/httpd-2.4.40/modules/test
-I/root/build/httpd-2.4.40/server -I/root/build/httpd-2.4.40/modules/md
-I/root/build/httpd-2.4.40/modules/arch/unix
-I/root/build/httpd-2.4.40/modules/dav/main
-I/root/build/httpd-2.4.40/modules/generators
-I/root/build/httpd-2.4.40/modules/mappers -prefer-pic -c mod_buffer.c && touch
mod_buffer.slo
cc1: error: unrecognized command line option "-Wno-error=comment"

That's built with:

./buildconf --with-apr=${JENKINS_DIR}/apr-${APR_VERSION}
--with-apr-util=${JENKINS_DIR}/apr-util-${APR_UTIL_VERSION}

./configure --prefix=${SERVER_ROOT} --with-apr=${SERVER_ROOT}
--with-apr-util=${SERVER_ROOT} --with-z=/usr --with-pcre=${SERVER_ROOT}
--with-ssl=${SERVER_ROOT} --with-nghttp2=${SERVER_ROOT} --with-port=10880
--with-program-name=httpd --with-mpm=event --disable-suexec
--enable-mods-shared=reallyall

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to