modularml / max

A collection of sample programs, notebooks, and tools which highlight the power of the MAX Platform
https://www.modular.com
Other
311 stars 41 forks source link

[Magic CLI]: warning: unsupported DW_FORM value: 0x1e #222

Closed RefinedSoftwareLLC closed 2 days ago

RefinedSoftwareLLC commented 1 week ago

Issue description

When using magic run mojo file.mojo I get the following warning but my code runs just fine.

warning: (x86_64) /kaggle/.magic/envs/default/lib/libstdc++.so.6 unsupported DW_FORM value: 0x1e

Steps to reproduce

os.environ['LD_LIBRARY_PATH'] = f'/kaggle/.magic/envs/default/lib:{os.environ["LD_LIBRARY_PATH"]}' %alias_magic --cell mojo script -p 'magic --no-progress run mojo'

https://www.kaggle.com/code/michaeldgibson/offline-mojo-template

Version Info

Linux x86_64 Ubuntu 20.04.6 LTS
jupyter_client   : 8.6.2
jupyter_core     : 5.7.2
traitlets        : 5.14.3
magic 0.2.3
conda 24.7.1
max 24.4.0 (59977802)
Modular version 24.4.0-59977802-release
mojo 24.4.0 (59977802)
Python 3.11.10
DWSimmons commented 6 days ago

I was told here that this would be fixed in the next main release.

DWSimmons commented 4 days ago
(zebra) darin@home:/media/darin/M2/magic/zebra$ magic run mojo --version
mojo 24.5.0 (e8aacb95)
(zebra) darin@home:/media/darin/M2/magic/zebra$ magic run mojo
warning: (x86_64) /media/darin/M2/magic/zebra/.magic/envs/default/lib/libstdc++.so.6 unsupported DW_FORM value: 0x1e

Also shows up in debug in VSCode

Welcome to Mojo debugging! 🔥
Inputs prefixed with a colon are treated as LLDB commands, e.g. `:thread list`. Other inputs are treated as expressions, e.g. `my_struct.some_field`.

Running initCommands:
(lldb) mojo statistics telemetry session.start vscode
error: 'mojo' is not a valid command.
warning: (x86_64) /home/darin/.config/Code/User/globalStorage/modular-mojotools.vscode-mojo/magic-data-home/envs/max/lib/libstdc++.so.6 unsupported DW_FORM value: 0x1e
[True, True, False, False] # program output
[True, True, False, False] # program output
Process 28590 exited with status = 0 (0x00000000) 
darin@home:~$ lscpu
Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          43 bits physical, 48 bits virtual
  Byte Order:             Little Endian
CPU(s):                   16
  On-line CPU(s) list:    0-15
Vendor ID:                AuthenticAMD
  Model name:             AMD Ryzen 7 1700 Eight-Core Processor
    CPU family:           23
zbowling commented 2 days ago

This should be fixed now in 24.5!

DWSimmons commented 2 days ago

The reason I commented above is that it is still present in 24.5

mojo 24.5.0 (e8aacb95)
zbowling commented 2 days ago

Doh. This got fixed in upstream lldb so I thought it made into 24.5

On Mon, Sep 16, 2024 at 12:05 PM DWSimmons @.***> wrote:

The reason I commented above is that it is still present in 24.5

mojo 24.5.0 (e8aacb95)

— Reply to this email directly, view it on GitHub https://github.com/modularml/max/issues/222#issuecomment-2353700630, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB4A7TNVHXFIY7OEWGQLPLZW4TXNAVCNFSM6AAAAABN7FK5FOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTG4YDANRTGA . You are receiving this because you modified the open/close state.Message ID: @.***>