[Mesa-users] compilation issue: 'I don't understand 'm' flag!'

RICHARD H D TOWNSEND townsend at astro.wisc.edu
Tue Mar 31 20:28:21 EDT 2020


Along these lines -- it's likely that the tool chain is picking up the assembler from /opt/local/bin, rather than from /usr/bin as it should. See here:

https://github.com/dmlc/xgboost/issues/1945#issuecomment-290606179

> On Mar 31, 2020, at 7:24 PM, mesa-users at lists.mesastar.org wrote:
> 
>> FATAL:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../libexec/as/x86_64/as: I don't understand 'm' flag!
> 
> the complaint is from the assembler, as.
> possibly useful is to report the results of 
> 
> % as -v
> 
> 
>> uname -a
> 
>> Darwin Kernel Version 16.7.0:
> 
> i believe this macos sierra circa 2017. probably xcode is of the same vintage.
> its not clear to me that this combination will work with current mesasdk, x86_64-macos-20.3.2.
> 
> fxt
> 
> 
> 
> 
> 
> 
> 
>> On Mar 31, 2020, at 5:04 PM, Evan Bauer <ebauer at physics.ucsb.edu> wrote:
>> 
>> Hi All,
>> 
>> I worked with Thomas offline to resolve the docker issue, and I’ve pushed an update to the MESA-Docker script that got X11 forwarding working for him.
>> 
>> However, I don’t understand the compilation issue he ran into when trying to install locally, so I still hope somebody else on here who’s more familiar with macOS can help answer that question.
>> 
>> Cheers,
>> Evan
>> 
>> 
>>> On Mar 31, 2020, at 9:33 AM, Thomas Kupfer <tkupfer at ucsb.edu> wrote:
>>> 
>>> Dear MESA enthusiastics,
>>> 
>>> I try to get MESA compiled on my macOS Sierra (version 10.12.6).
>>> Unfortunately, it crashes pretty early on and I don't really understand why. 
>>> 
>>> I followed the instructions for OS systems, set the environment variables and installed the latest version of MESA SDK which all seemed fine but unfortunately it crashes early when I run ./install.
>>> I could not find a similar error in the mailing list archive and google did not really help either.
>>> It complains about not understanding an 'm' flag. Please see attached the build.log for details.
>>> 
>>> I also work with dockers and tried the docker container but I still haven't gotten the X11 window plotting running in a docker container. 
>>> 
>>> Thanks a lot,
>>> Thomas
>>> -- 
>>> ------------------------------------------------------------------------
>>> Dr. Thomas Kupfer                     Postdoctoral Scholar
>>> KITP, Kohn Hall                            tkupfer at ucsb.edu
>>> University of California             Tel:(+1)805-893-6326  
>>> Santa Barbara, CA, 93106         Room: Kohn Hall 2407
>>> USA
>>> <build.log>_______________________________________________
>>> mesa-users at lists.mesastar.org
>>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>> 
>> 
>> _______________________________________________
>> mesa-users at lists.mesastar.org
>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>> 
> 
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
> 



More information about the Mesa-users mailing list