You are not logged in.

#1 2016-05-30 22:06:43

oxyopy
Member
Registered: 2016-01-21
Posts: 6

binutils 2.26-4 broken?

It seems like something changed in the past couple of weeks.
Probably me somehow, but...

% pacman -Q gcc
gcc 6.1.1-1
% pacman -Q gcc-libs
gcc-libs 6.1.1-1
% pacman -Q binutils
binutils 2.26-4
% echo boing > x
% rm -f x.a
% ar crv x.a x
a - x
: CommandLine Error: Option '' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

I ran across this while attempting to cross-compile binutils
2.26.

env vars:
COLORTERM DBUS_SESSION_BUS_ADDRESS DESKTOP_SESSION DISPLAY GLADE_CATALOG_PATH GLADE_MODULE_PATH GLADE_PIXMAP_PATH GTK_MODULES HG HOME LANG LC_ALL LESS LOGNAME MAIL MOZ_PLUGIN_PATH PATH PWD SESSION_MANAGER SHELL SHLVL SSH_AGENT_PID SSH_AUTH_SOCK TERM USER WINDOWID WINDOWPATH XDG_CONFIG_DIRS XDG_CURRENT_DESKTOP XDG_DATA_DIRS XDG_MENU_PREFIX XDG_RUNTIME_DIR XDG_SEAT XDG_SESSION_ID XDG_VTNR _

LANG and LC_ALL are set to C.

Any thoughts?

Thanks!
--Mark

Offline

#2 2016-05-30 22:10:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,531
Website

Re: binutils 2.26-4 broken?

oxyopy wrote:

I ran across this while attempting to cross-compile binutils

And how did you do this?  Did you end up installing a cross-compiled binary to your system?

What's the output of `pacman -Qkk binutils`?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2016-05-30 22:19:41

oxyopy
Member
Registered: 2016-01-21
Posts: 6

Re: binutils 2.26-4 broken?

hahahahhahaha!! ! ! !!!

no

not a n00b here

in order to install a cross compiled binutils, i would
first have to be able to BUILD binutils, which seems
to involve building some libraries. which i cannot do

big_smile

if anyone is running arch-latest and can do

    echo xyzzy > z
    rm -f x.a
    ar crv x.a x

successfully, then i need to take a closer look at my
system; otherwise, i think something goofed in the
binutils build ??!?

% pacman -Q binutils
binutils 2.26-4
% pacman -Qkk binutils
binutils: 305 total files, 0 altered files

Offline

#4 2016-05-30 22:22:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: binutils 2.26-4 broken?

dnewgard@Scimmia ~ % echo test > x
dnewgard@Scimmia ~ % ar crv x.a x
a - x
dnewgard@Scimmia ~ % cat x.a
!<arch>
x/              0           0     0     644     5         `
test

Offline

#5 2016-05-30 22:27:12

oxyopy
Member
Registered: 2016-01-21
Posts: 6

Re: binutils 2.26-4 broken?

Thanks!

Are you on x86_64 no multilib and binutils 2.26-4?

--Mark

Offline

#6 2016-05-30 22:29:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: binutils 2.26-4 broken?

x86_64 with mutilib enabled, but not the multilib versions of anything important. Up to date with Testing.

Offline

#7 2016-05-30 23:01:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,531
Website

Re: binutils 2.26-4 broken?

oxyopy wrote:

hahahahhahaha!! ! ! !!!

no

not a n00b here

I'm not so sure about that.  But if sarcasm and dismissal is how you react to attempted help, I will no longer attempt.

If you are such an expert, please follow our forum guidelines on posting commands and code.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2016-05-30 23:20:15

oxyopy
Member
Registered: 2016-01-21
Posts: 6

Re: binutils 2.26-4 broken?

Wow

__relax__ !!

I have no intent to offend you or anyone else.

Had I installed cross-compiled binaries on
my box, I would not have been able to
paste (with correct formatting or otherwise)
the output of those commands. The error
message would have been entirely different.
I know this because I have done this
before.

Deep

Breaths

--M

Offline

Board footer

Powered by FluxBB