[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1024611: rocminfo FTCBFS: confused architecture terminology



Control: tag -1 confirmed pending
Control: forwarded -1 https://github.com/RadeonOpenCompute/rocminfo/issues/60

Hi Helmut,

Helmut Grohne, on 2022-11-22:
> rocminfo fails to cross build from source, because it passes invalid
> compiler flags. The detection is broken due to confusing architecture
> terminologies. The system we are building on is called "build" in Debian
> and GNU, but for cmake it is called "host". The system we are building
> for is called "host" in Debian and GNU, but for cmake it is empty (it
> doesn't have a name). I'm attaching a patch for your convenience and
> hope to not leave too much confusion.

After a small adjustment to the original patch, I could get
rocminfo to cross build from amd64 to aarch64 host; the -m64 was
still around without adjustment.  I applied your patch and it
should make it to the next upload of rocminfo.

Thank you for your analysis, always a pleasure to learn
something new and greatly improve packaging in a same move.
Please continue.

Have a nice day,  :)
-- 
  .''`.  Étienne Mollier <emollier@debian.org>
 : :' :  gpg: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/2, please excuse my verbosity
   `-    on air: Monomyth - Collision

Attachment: signature.asc
Description: PGP signature


Reply to: