Re: Carla-2.5.0 compilation fails with: error: static assertion failed: 64-bit large file support is not enabled

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

 



On Wed, Sep 28, 2022 at 7:57 AM Martin Gansser <martin.gansser@xxxxxxxxx> wrote:
> when i compiling Carla-2.5.0 [1] the compilation fails on i686, ppc64le and s390x platform, it fails with the follwoing error message [2].
>
> g++ CarlaEngineDummy.cpp -Wall -Wextra -pipe -DBUILDING_CARLA -DREAL_BUILD -MD -MP -fno-common -fPIC -DPIC -DNDEBUG -O2 -ffast-math -fdata-sections -ffunction-sections -DBUILDING_CARLA_NOOPT -fvisibility=hidden -fno-gnu-unique -DHAVE_DGL -DHAVE_OPENGL -DDGL_OPENGL -DDONT_SET_USING_DGL_NAMESPACE -DDGL_NAMESPACE=CarlaDGL -DDGL_FILE_BROWSER_DISABLED -DDGL_NO_SHARED_RESOURCES -DHAVE_FLUIDSYNTH -DHAVE_HYLIA -DHAVE_JACK -DHAVE_LIBLO -DHAVE_PYQT -DHAVE_SNDFILE -DHAVE_X11 -DUSING_JUCE -DJUCE_APP_CONFIG_HEADER='"AppConfig.h"' -DUSING_RTAUDIO -DCARLA_LIB_EXT=\".so\" -std=gnu++11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fvisibil
>  ity-inlines-hidden -fvisibility-inlines-hidden -I. -I.. -I../.. -I../../includes -I../../modules -I../../utils    -pthread -c -o ../../../build/backend/Release/CarlaEngineDummy.cpp.o
> make[1]: Leaving directory '/builddir/build/BUILD/Carla-2.5.0/source/backend/engine'
> make[1]: Entering directory '/builddir/build/BUILD/Carla-2.5.0/source/modules/ysfx'
> Compiling sources/ysfx_utils.cpp
> make[1]: Leaving directory '/builddir/build/BUILD/Carla-2.5.0/source/modules/ysfx'
> sources/ysfx_utils.cpp:40:29: error: static assertion failed: 64-bit large file support is not enabled
>    40 | static_assert(sizeof(off_t) == 8, "64-bit large file support is not enabled");
>       |               ~~~~~~~~~~~~~~^~~~
> sources/ysfx_utils.cpp:40:29: note: the comparison reduces to '(4 == 8)'
> make[1]: *** [Makefile:175: ../../../build/ysfx/Release/sources/ysfx_utils.cpp.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
>
> [1] https://src.fedoraproject.org/rpms/Carla/tree/master
> [2] https://koji.fedoraproject.org/koji/taskinfo?taskID=92393472
>
> How can i solve this ?

For the i686 build, you may need to add -D_FILE_OFFSET_BITS=64 to the
build flags.  Or consider dropping support for i686 entirely:
https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval.

Are you sure you're getting the same error on ppc64le and s390x?
-- 
Jerry James
http://www.jamezone.org/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux