Opened 4 years ago

Closed 3 years ago

#165 closed defect (fixed)

Binutils too old to support AVX2

Reported by: dryeo Owned by:
Priority: Feedback Pending Milestone:
Component: rpm Version:
Severity: low Keywords:
Cc:

Description

While GCC reports AVX2 is available,

# gcc -mavx2 -dM -E - < /dev/null | egrep "AVX" | sort
#define __AVX__ 1
#define __AVX2__ 1

AS errors out when compiling AVX2 code, eg from flac git head,

R:/tmp/ccwvrScM.s:8773: Error: operand type mismatch for `vpsrlq'
R:/tmp/ccwvrScM.s:8778: Error: no such instruction: `vpermd %ymm1,%ymm5,%ymm0'
R:/tmp/ccwvrScM.s:8859: Error: operand type mismatch for `vpmovzxdq'

Our binutils version 2.21 is close to 5 years old and Paul's newest release is binutils v2.25 2015-01-08.

Change History (5)

comment:1 Changed 3 years ago by diver

  • Priority changed from major to Feedback Pending

please try binutils from exp repo.

comment:2 Changed 3 years ago by dryeo

Errors out with

Test Transaction Errors: file /@unixroot/usr/include/libiberty.h from install of binutils-devel-2.25-1.oc00.i686 conflicts with file from package libc-devel- 0.6.6-26.oc00.i386

I usually go with the binutils version when updating my non-rpm environment.

comment:3 Changed 3 years ago by diver

That's a libc rpm error it seems. Even I didn't get this problem while creating and testing the rpm. I have the feeling it might also be because of the i386 vs i686 issue. We will make sure we fix the libc rpm.

And btw this binutils version differs from Pauls build. It's not just a repack of his.

comment:4 Changed 3 years ago by diver

And btw to have a working binutils you would not need the devel part. The devel only installs header files and .a files. Which is only needed if you want to link against binutils stuff

comment:5 Changed 3 years ago by diver

  • Resolution set to fixed
  • Status changed from new to closed

libc rpm is fixed in r794.

please retry and reopen this issue again, if still a problem.

Note: See TracTickets for help on using tickets.