+ Antworten
Ergebnis 1 bis 10 von 10
  1. #1
    Developer
    Registriert seit
    18.07.2012
    Ort
    Ridderkerk, Niederlande
    Beiträge
    634
    Thanks
    144
    Thanked 712 Times in 304 Posts

    The end of Enigma2 on SH4?

    Hello every body,

    It appears that the time that has been dreaded for some time has begun: OpenPLi Enigma2 now requires features no longer supported by our ancient STM-originated compiler which' support stopped some five years ago. E2 has switched to sigc++ version 3 and later, and building this version stops as follows:
    Code:
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating sigc++-3.0.pc
    config.status: creating sigc++-3.0-uninstalled.pc
    config.status: creating cmake/Makefile
    config.status: creating sigc++/Makefile
    config.status: creating examples/Makefile
    config.status: creating tests/Makefile
    config.status: creating docs/docs/Makefile
    config.status: creating docs/docs/reference/Doxyfile
    config.status: creating MSVC_NMake/sigc.rc
    config.status: creating config.h
    config.status: creating sigc++config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing MSVC_NMake/sigc++config.h commands
    configure: error: *** A compiler with support for C++17 language features is required.
    make/contrib-libs.mk:1132: recipe for target '/home/ndv/abs-git/.deps/libsigc3' failed
    make: *** [/home/ndv/abs-git/.deps/libsigc3] Error 1
    I suppose in theory it is possible to patch E2 back to sigc++ version 2 compatibility. But I do not think that is good idea. I have tried to build a more recent SH4 cross-compiler using crosstool-ng but so far only succeeded for version 4.9.4. If you can build a cross compiler that supports C++17, please help.

    So I am close of stopping support for newer E2 versions, for at least the following reasons:

    First: I do not have the time and the knowledge.
    Second: I feel these actions are merely a delay of the inevitable as more this kind of problems will pop up in the (near?) future.

    Another approach is starting to use OpenvisiosnE2's variant of Enigma2 for SH4, which currently is still using sigc++ 2 (for how long?) but has switched to python3 which also is a new avenue.
    At the moment I am very busy adding at least two unsupported SH4 receivers and rather spend my limited time and energy on those.

    Any ideas anyone?

    Regards,

    Audioniek.
    Receivers: Rebox: RE-4000, 8000, 9000, 2200, 2210, 2220, 4200, 4210, 4220, 8220, 8500, SAB Unix Triple, Golden Media Spark TripleX, Amiko Alien 2+, Sogno Spark Revolution, Kathrein UFS910(1 & 14W)/912/913/922(CX24116 & AVL2108 tuners), Vizyon revolution 820HD PVR, AB IPBox 91HD/9000HD/9000HD rev.2, Xsarius Alpha HD10, nBox BKSA/BSLA/BXZB/BZZB, Vitamin HD 5000
    Sats: Astra 1, 2 & 3, Hotbird
    Main activity: building my own E2 images for Fortis receivers


  2. #2
    Benutzer
    Registriert seit
    25.11.2012
    Beiträge
    64
    Thanks
    47
    Thanked 19 Times in 15 Posts
    Hi Audioniek
    you Can push your change in git other branch like ( py3_test )
    The solution can come from someone
    Try to add this Line in enigma2.mk
    E_CPPFLAGS += -std=c++17


  3. #3
    Benutzer
    Registriert seit
    25.11.2012
    Beiträge
    64
    Thanks
    47
    Thanked 19 Times in 15 Posts
    or change this Line in patch
    https://github.com/Audioniek/buildsy...10.6.patch#L14

    +MM_AX_CXX_COMPILE_STDCXX_17([noext], [mandatory])


  4. #4
    Developer
    Registriert seit
    18.07.2012
    Ort
    Ridderkerk, Niederlande
    Beiträge
    634
    Thanks
    144
    Thanked 712 Times in 304 Posts
    @pop1234:

    You have missed the point. Both you suggestions make a compiler capable of c++17 mandatory, but such a compiler is currently not available for SH4. The current versions of Enigma2 and sigc++3.0 require it, and in the future more packages are likely to follow.

    Regards,

    Audioniek.
    Receivers: Rebox: RE-4000, 8000, 9000, 2200, 2210, 2220, 4200, 4210, 4220, 8220, 8500, SAB Unix Triple, Golden Media Spark TripleX, Amiko Alien 2+, Sogno Spark Revolution, Kathrein UFS910(1 & 14W)/912/913/922(CX24116 & AVL2108 tuners), Vizyon revolution 820HD PVR, AB IPBox 91HD/9000HD/9000HD rev.2, Xsarius Alpha HD10, nBox BKSA/BSLA/BXZB/BZZB, Vitamin HD 5000
    Sats: Astra 1, 2 & 3, Hotbird
    Main activity: building my own E2 images for Fortis receivers


  5. #5
    Benutzer
    Registriert seit
    25.11.2012
    Beiträge
    64
    Thanks
    47
    Thanked 19 Times in 15 Posts
    libsigc3 finish without error ?


  6. #6
    Developer
    Registriert seit
    18.07.2012
    Ort
    Ridderkerk, Niederlande
    Beiträge
    634
    Thanks
    144
    Thanked 712 Times in 304 Posts
    No, you cannot compile it. See first post: a compiler with C++17 features is required.

    Regards,

    Audioniek.
    Receivers: Rebox: RE-4000, 8000, 9000, 2200, 2210, 2220, 4200, 4210, 4220, 8220, 8500, SAB Unix Triple, Golden Media Spark TripleX, Amiko Alien 2+, Sogno Spark Revolution, Kathrein UFS910(1 & 14W)/912/913/922(CX24116 & AVL2108 tuners), Vizyon revolution 820HD PVR, AB IPBox 91HD/9000HD/9000HD rev.2, Xsarius Alpha HD10, nBox BKSA/BSLA/BXZB/BZZB, Vitamin HD 5000
    Sats: Astra 1, 2 & 3, Hotbird
    Main activity: building my own E2 images for Fortis receivers


  7. #7
    Benutzer
    Registriert seit
    25.11.2012
    Beiträge
    64
    Thanks
    47
    Thanked 19 Times in 15 Posts
    Try this -std=c++17 like -std=c++1z
    +MM_AX_CXX_COMPILE_STDCXX_1z([noext], [mandatory])

    I hope you succeed

    - - - Updated - - -

    If the error remains, go back to c++11

    CXXFLAGS += "-std=c++11" with gcc4.9.4


  8. #8
    Benutzer
    Registriert seit
    25.11.2012
    Beiträge
    64
    Thanks
    47
    Thanked 19 Times in 15 Posts
    And libsigc 3.0 need package setuptools3 meson


  9. #9


  10. #10
    Developer
    Registriert seit
    18.07.2012
    Ort
    Ridderkerk, Niederlande
    Beiträge
    634
    Thanks
    144
    Thanked 712 Times in 304 Posts
    @pop1234,

    Although I appreciate your efforts, the basic problem remains the same: one needs a compiler with c++17 features to compile libsigc++-3.0 and for SH4, we have not got one. Please read on on the two github sites to read that c++17 is needed. Also note that the links to openvisione2 pertain to beta versions; the actually used ones still use libsigc++-2.0, and I am very curious how they get the beta compiled.

    'Regards,
    Audioniek.
    Receivers: Rebox: RE-4000, 8000, 9000, 2200, 2210, 2220, 4200, 4210, 4220, 8220, 8500, SAB Unix Triple, Golden Media Spark TripleX, Amiko Alien 2+, Sogno Spark Revolution, Kathrein UFS910(1 & 14W)/912/913/922(CX24116 & AVL2108 tuners), Vizyon revolution 820HD PVR, AB IPBox 91HD/9000HD/9000HD rev.2, Xsarius Alpha HD10, nBox BKSA/BSLA/BXZB/BZZB, Vitamin HD 5000
    Sats: Astra 1, 2 & 3, Hotbird
    Main activity: building my own E2 images for Fortis receivers


Berechtigungen

  • Neue Themen erstellen: Ja
  • Themen beantworten: Ja
  • Anhänge hochladen: Ja
  • Beiträge bearbeiten: Ja
  •