Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on FreeBSD 12 #9

Closed
yurivict opened this issue Oct 20, 2018 · 6 comments
Closed

Build fails on FreeBSD 12 #9

yurivict opened this issue Oct 20, 2018 · 6 comments

Comments

@yurivict
Copy link

ld: error: target emulation unknown: -m or at least one .o file required
gmake[2]: [Makefile:75: gui/pedal.o] Error 1 (ignored)
ld: error: target emulation unknown: -m or at least one .o file required
gmake[2]: [Makefile:76: gui/pedal.o] Error 1 (ignored)

Here is a complete log: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p482319_s339416/logs/gxplugins-lv2-0.5.log

It looks like it doesn't build anything at all on FreeBSD 12.
It builds fine on FreeBSD 11 and 10.

@brummer10
Copy link
Owner

Hi Yuri

Seems like the generation of the object files from the png's fail on FreeBSD 12.

Isn't the ld GNU linker part of FreeBSD 12 any more?

@yurivict
Copy link
Author

Hi,

What is the feature that is used from the GNU linker that is missing?

@brummer10
Copy link
Owner

we use the flags
-r Generate relocatable output
-b input-format (binary)

looks like the ELF linker from the LLVM project need the flags
--relocatable
--format=input-format (binary)
to do the same.

@yurivict
Copy link
Author

Ok, thanks, I switched the port to use the GNU linker for now. Will see how this works.

@brummer10
Copy link
Owner

Hi Yuri

I see on your makefile
https://freshbsd.org/commit/freebsd-ports/r482631?view=head%2Faudio%2Fgxplugins-lv2%2FMakefile
that you still have gtk20 gdkpixbuf2 atk and pango in the "use" list, they been ain't in use any more, this release is aimed to remove this dependency's.

regards
hermann

@yurivict
Copy link
Author

Thank you for pointing this out. I removed the redundant USExx elements.
But they wouldn't cause link breakage, they would only attach additional dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants