~hp/issues#23: 
Fails to compile on aarch64 (e.g. raspberry pi)

Attempts to compile lv2lint on a raspberry pi running debian buster fail.

There is a warning: ../mapper.lv2/mapper.lv2/mum.h:112:13: warning: right-hand operand of comma expression has no effect [-Wunused-value] then subsequent failure to link:

[6/6] Linking target lv2lint FAILED: lv2lint cc -o lv2lint lv2lint.p/lv2lint.c.o lv2lint.p/lv2lint_plugin.c.o lv2lint.p/lv2lint_port.c.o lv2lint.p/lv2lint_parameter.c.o lv2lint.p/lv2lint_ui.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--start-group -lm /usr/lib/aarch64-linux-gnu/liblilv-0.so -ldl /usr/lib/aarch64-linux-gnu/libsratom-0.so /usr/lib/aarch64-linux-gnu/libsord-0.so /usr/lib/aarch64-linux-gnu/libserd-0.so /usr/lib/aarch64-linux-gnu/libcurl.so /usr/lib/aarch64-linux-gnu/libelf.so -Wl,--end-group /usr/bin/ld: lv2lint.p/lv2lint_plugin.c.o:(.bss+0x0): multiple definition of colors'; lv2lint.p/lv2lint.c.o:(.data.rel.local+0x0): first defined here /usr/bin/ld: lv2lint.p/lv2lint_port.c.o:(.bss+0x0): multiple definition ofcolors'; lv2lint.p/lv2lint.c.o:(.data.rel.local+0x0): first defined here /usr/bin/ld: lv2lint.p/lv2lint_parameter.c.o:(.bss+0x0): multiple definition of colors'; lv2lint.p/lv2lint.c.o:(.data.rel.local+0x0): first defined here /usr/bin/ld: lv2lint.p/lv2lint_ui.c.o:(.bss+0x0): multiple definition ofcolors'; lv2lint.p/lv2lint.c.o:(.data.rel.local+0x0): first defined here collect2: error: ld returned 1 exit status

The warning does not seem to be the trigger for the subsequent linking failure which appears to duplicate definition of colors.

Status
REPORTED
Submitter
~hp
Assigned to
~hp
Submitted
1 year, 1 month ago
Updated
1 year, 1 month ago
Labels
lv2lint