Skip to content

Flux error on build #134

@ubelian

Description

@ubelian

I'm trying to build a library, but I get an error:

[1/137] Generating src/core/CoreDFB with a custom command
FAILED: src/core/CoreDFB.c src/core/CoreDFB.h 
/usr/bin/fluxcomp --call-mode --dispatch-error-abort --identity --include-prefix=core --object-ptrs --static-args-bytes=FLUXED_ARGS_BYTES -c ../DirectFB2/src/core/CoreDFB.flux -o=src/core
(*) Direct/Thread: Started 'SigHandler' (237507) [CRITICAL - OTHER/0] <8388608>...

Flux Compiler Tool (version 1.4.4)

Usage: /usr/bin/fluxcomp [options] <filename>

Options:
   -h, --help                     Show this help message
   -v, --version                  Print version information
   -V, --version-code             Output version code to stdout
   -c, --generate-c               Generate C instead of C++ code
   -i, --identity                 Generate caller identity tracking code
   --object-ptrs                  Return object pointers rather than IDs
   --call-mode                    Use call mode function to determine call mode
   -p=, --include-prefix=         Override standard include prefix for includes
   --static-args-bytes=           Override standard limit (1000) for stack based arguments
   --dispatch-error-abort         Abort execution when object lookups etc fail

Use this cross-tool:

[binaries]
c = 'arm-poky-linux-gnueabi-gcc'
cpp = 'arm-poky-linux-gnueabi-g++'
ar = 'arm-poky-linux-gnueabi-ar'
nm = 'arm-poky-linux-gnueabi-nm'
ld = 'arm-poky-linux-gnueabi-ld'
strip = 'arm-poky-linux-gnueabi-strip'
pkgconfig = '/opt/atocha/1.0.6-rc34/sysroots/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/usr/lib/pkgconfig:/opt/atocha/1.0.6-rc34/sysroots/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/usr/share/pkgconfig'

[target_machine]
system = 'linux'
cpu_family = 'arm'
cpu = 'armv7hf'
endian = 'big'

[properties]
sys_root = '--sysroot=/opt/atocha/1.0.6-rc34/sysroots/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi'
c_args = ['-mthumb', '-mfpu=neon-vfpv4', '-mfloat-abi=hard', '-mcpu=cortex-a5', '-fstack-protector-strong', '-D_FORTIFY_SOURCE=2', '-Wformat', '-Wformat-security', '-Werror=format-security', '--sysroot=/opt/atocha/1.0.6-rc34/sysroots/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi']

c_link_args = ['-Wl,-O1', '-Wl,--hash-style=gnu', '-Wl,--as-needed', '-Wl,-z,relro,-z,now']

cpp_args = ['-mthumb', '-mfpu=neon-vfpv4', '-mfloat-abi=hard', '-mcpu=cortex-a5', '-fstack-protector-strong', '-D_FORTIFY_SOURCE=2', '-Wformat', '-Wformat-security', '-Werror=format-security', '--sysroot=/opt/atocha/1.0.6-rc34/sysroots/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi']

cpp_link_args = ['-Wl,-O1', '-Wl,--hash-style=gnu', '-Wl,--as-needed', '-Wl,-z,relro,-z,now']

i'm use fluxcomp version 1.4.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions