You are not logged in.

#1 2018-03-08 10:05:59

Jm56Z
Member
Registered: 2018-01-28
Posts: 5

[Solved] GCC can't compile with bigger libraries

Hello everyone, I'm having a problem while programming in C

When I try to compile a code with a big library, GNU Binutils seems not to accept this.

I've read this post : https://forum.antergos.com/topic/9152/c … -problem/4
And followed all tips, Reinstalled xorgproto and libxfont2, removed libxfont, etc...

I still get this damn error :

/usr/bin/ld: /usr/bin/ld: BFD internal error (GNU Binutils) 2.29.1, abortion at /build/binutils/src/binutils-2.29.1/bfd/bfd.c:843 in _doprnt

/usr/bin/ld: Please report this anomaly.

collect2: error: ld returned with exit status 1"

Is there any solution to this problem ?

I run

sudo pacman -Syu

every day..

Also, I reinstalled xorgproto, but it seems to reinstall the exact same thing, like it wasn't removed (nothing is downloaded when running pacman -R then pacman -S)

Have a good day !


EDIT: the library had been compiled using an older linux, so it didn't work on a recent arch

Last edited by Jm56Z (2018-04-10 18:32:46)

Offline

#2 2018-03-08 10:37:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,418

Re: [Solved] GCC can't compile with bigger libraries

Please post more details of what exactly you are attempting to do and the actual commands you are using , and post command output in english and in [ code ] tags: https://wiki.archlinux.org/index.php/Co … ow_to_post

The xorgproto package is simply reinstalled from the cache, if you really feel that the issue is there remove it from the cache.

Please post

pacman -Qm

as well as the contents of your /var/log/pacman.log

Online

#3 2018-04-10 18:28:40

Jm56Z
Member
Registered: 2018-01-28
Posts: 5

Re: [Solved] GCC can't compile with bigger libraries

Sorry for responding so late.
I found out that I was trying to compile my code with an ancient binary, compiled under an old linux.

Offline

Board footer

Powered by FluxBB