Welcome to Centmin Mod Community
Register Now

Beta Branch Centmin Mod .08 beta3 + clang compiler ngx_pagespeed psol

Discussion in 'Beta release code' started by rdan, Jun 10, 2015.

  1. rdan

    rdan Well-Known Member

    4,560
    1,092
    113
    May 25, 2014
    Ratings:
    +1,601
    Local Time:
    3:11 AM
    Mainline
    10.2
    Wow, fixed now. :)
    Upgrading Nginx now.
     
  2. rdan

    rdan Well-Known Member

    4,560
    1,092
    113
    May 25, 2014
    Ratings:
    +1,601
    Local Time:
    3:11 AM
    Mainline
    10.2
    Same error :/
     
  3. rdan

    rdan Well-Known Member

    4,560
    1,092
    113
    May 25, 2014
    Ratings:
    +1,601
    Local Time:
    3:11 AM
    Mainline
    10.2
    This is, CentOS release 6.6 (Final) x86
    Kernel 2.6.32-504.16.2.el6.i686
     
  4. rdan

    rdan Well-Known Member

    4,560
    1,092
    113
    May 25, 2014
    Ratings:
    +1,601
    Local Time:
    3:11 AM
    Mainline
    10.2
  5. eva2000

    eva2000 Administrator Staff Member

    41,070
    9,175
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,083
    Local Time:
    5:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    can you post to gist/pastebin the contents of /svr-setup/nginx-1.9.1/objs/autoconf.err
     
  6. rdan

    rdan Well-Known Member

    4,560
    1,092
    113
    May 25, 2014
    Ratings:
    +1,601
    Local Time:
    3:11 AM
    Mainline
    10.2
  7. rdan

    rdan Well-Known Member

    4,560
    1,092
    113
    May 25, 2014
    Ratings:
    +1,601
    Local Time:
    3:11 AM
    Mainline
    10.2
    File itself,
     

    Attached Files:

  8. eva2000

    eva2000 Administrator Staff Member

    41,070
    9,175
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,083
    Local Time:
    5:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    looks like there's problems with clang compiler and ngx_pagespeed's psol - might be a 32bit thing as i have no probs with 64bit os if you search that gist file for
    Code:
    checking for psol
    you can find the start of the reported errors
    e.g.
    Code:
    ----------------------------------------
    checking for psol
    
    /tmp/autotest-c5f76d.o: In function `_Alloc_hider':
    /usr/bin/../lib/gcc/i686-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:260: undefined reference to `std::string::_Rep::_S_empty_rep_storage'
    /tmp/autotest-c5f76d.o: In function `std::string::_M_rep() const':
    /usr/bin/../lib/gcc/i686-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:232: undefined reference to `std::string::_Rep::_S_empty_rep_storage'
    /usr/bin/../lib/gcc/i686-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:236: undefined reference to `std::string::_Rep::_M_destroy(std::allocator<char> const&)'
    /usr/bin/../lib/gcc/i686-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:232: undefined reference to `std::string::_Rep::_S_empty_rep_storage'
    /usr/bin/../lib/gcc/i686-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:236: undefined reference to `std::string::_Rep::_M_destroy(std::allocator<char> const&)'
    /tmp/autotest-c5f76d.o: In function `__clang_call_terminate':
    objs/autotest.cc:(.text.__clang_call_terminate[__clang_call_terminate]+0xb): undefined reference to `__cxa_begin_catch'
    objs/autotest.cc:(.text.__clang_call_terminate[__clang_call_terminate]+0x10): undefined reference to `std::terminate()'
    /tmp/autotest-c5f76d.o: In function `__cxx_global_var_init':
    /usr/bin/../lib/gcc/i686-redhat-linux/4.4.7/../../../../include/c++/4.4.7/iostream:72: undefined reference to `std::ios_base::Init::Init()'
    /usr/bin/../lib/gcc/i686-redhat-linux/4.4.7/../../../../include/c++/4.4.7/iostream:72: undefined reference to `std::ios_base::Init::~Init()'
    /tmp/autotest-c5f76d.o:(.eh_frame+0x13): undefined reference to `__gxx_personality_v0'
    ../ngx_pagespeed-release-1.9.32.3-beta/psol/lib/Release/linux/ia32/pagespeed_automatic.a(88.message_handler.o.o): In function `net_instaweb::MessageHandler::Format(char const*, char*)':
    might have to make clang a 64bit only option to confirm this
     
  9. eva2000

    eva2000 Administrator Staff Member

    41,070
    9,175
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,083
    Local Time:
    5:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  10. eva2000

    eva2000 Administrator Staff Member

    41,070
    9,175
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,083
    Local Time:
    5:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    @RoldanLT if you or anyone else doing tests have a 64bit CentOS test server, would be nice to confirm if clang and psol issues are 32bit specific :)
     
  11. eva2000

    eva2000 Administrator Staff Member

    41,070
    9,175
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,083
    Local Time:
    5:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    @RoldanLT for your 32bit instance, can you also try deleting existing ngx_pagespeed downloads in /svr-setup and then run centmin.sh menu option 4 to upgrade/recompile Nginx

    Code:
    rm -rf /svr-setup/ngx_pagespeed-release*
    rm -rf /svr-setup/release-1.9.32*
    then run centmin.sh menu option 4
     
  12. rdan

    rdan Well-Known Member

    4,560
    1,092
    113
    May 25, 2014
    Ratings:
    +1,601
    Local Time:
    3:11 AM
    Mainline
    10.2
    Same error Eva :sick:
     
  13. eva2000

    eva2000 Administrator Staff Member

    41,070
    9,175
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,083
    Local Time:
    5:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  14. rdan

    rdan Well-Known Member

    4,560
    1,092
    113
    May 25, 2014
    Ratings:
    +1,601
    Local Time:
    3:11 AM
    Mainline
    10.2
    I modified centmin.sh to:
    NGINX_PAGESPEED=n

    Another error now:
     
  15. eva2000

    eva2000 Administrator Staff Member

    41,070
    9,175
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,083
    Local Time:
    5:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    i suspect it's to with 32bit os.. i'll add a check for it and enable clang only for 64bit

    other work came up heh
     
  16. rdan

    rdan Well-Known Member

    4,560
    1,092
    113
    May 25, 2014
    Ratings:
    +1,601
    Local Time:
    3:11 AM
    Mainline
    10.2
    Still an error Eva.
     
  17. eva2000

    eva2000 Administrator Staff Member

    41,070
    9,175
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,083
    Local Time:
    5:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  18. rdan

    rdan Well-Known Member

    4,560
    1,092
    113
    May 25, 2014
    Ratings:
    +1,601
    Local Time:
    3:11 AM
    Mainline
    10.2
    If not, maybe specific to Ramnode OS image? :/
     
  19. eva2000

    eva2000 Administrator Staff Member

    41,070
    9,175
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,083
    Local Time:
    5:11 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    that's a possibility - I was trying OVH's runabove VPS sandboxes and despite several install attempts it kept on refusing to run and install remi YUM repo for .08 beta. Try it on ramnode, digitalocean etc and it's fine heh. But the problem is for you it's clang not compiling your ngx_pagespeed psol module properly from autoconf.err file posted

    i'll try it on one of my 32bit vps and see
     
    • Like Like x 1
  20. rdan

    rdan Well-Known Member

    4,560
    1,092
    113
    May 25, 2014
    Ratings:
    +1,601
    Local Time:
    3:11 AM
    Mainline
    10.2
    Opz..
    This is on my OVH CentOS 6.6 64bit server.
    My centmin.sh if that matters: gist:c4aeb019302c3c3eea92
     
    • Informative Informative x 1