Julian Sikorski <beleg...@gmail.com> writes:

> Does a hammer smaller than -g1 also exist for issues like:
>
> relocation truncated to fit: R_X86_64_32 against `.debug_info'
> https://kojipkgs.fedoraproject.org//work/tasks/1615/107091615/build.log

This is saying that mame is too large to fit in the default code model
(-mcmodel=small).

You may need to build with -mcmodel=medium or -mcmodel=large in order to
get relocations that can deal with this kind of large binaries.

Linking agains shared libraries could also help in this case, but it may
be more difficult if upstream does not support it.

-- 
Tulio Magno
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to