bug-xorriso
[Top][All Lists]
Advanced

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

Re: [Bug-xorriso] please help to compile arm cross platform


From: Thomas Schmitt
Subject: Re: [Bug-xorriso] please help to compile arm cross platform
Date: Thu, 09 Jan 2014 23:18:01 +0100

Hi,

a plausible culprit for the compile time error would be file

  arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/include/scsi/sg.h

out of

  
http://sourceforge.net/projects/dsgpl/files/DSM%204.2%20Tool%20Chains/Marvell%20armada%20370%20Linux%203.2.30/gcc445_glibc211_softfp_armada370-GPL.tgz/download

It differs significantly from the other scsi/sg.h files
in the same tarball, or in gcc464_glibc215_hard_armada370-GPL.tgz,
or my own systems.

Especially by

  typedef struct sg_io_hdr
  {
  ...
  void __user *sbp;           /* [i], [*o] points to sense_buffer memory */
  };

The same definition is made in
  
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/scsi/sg.h?id=refs/tags/v3.13-rc7
but i see it already in
  
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/include/scsi/sg.h?id=refs/tags/v2.6.32.61

Very strange. This never ever occured to me in practice.
No reports from any GNU/Linux distro packagers. 

----------------------------------------------------------------

Whatever, i made the source code of libburn/sg-linux.c safe
against that variation. At least with my modified scsi/sg.h it
does compile now.

If you can afford the time, please test whether the newly uploaded
development snapshot

  http://www.gnu.org/software/xorriso/xorriso-1.3.5.tar.gz

can be compiled by your tool chain.


Have a nice day :)

Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]