Opened 3 years ago

Closed 3 years ago

#15633 closed enhancement (fixed)

llvm-13.0.0

Reported by: Xi Ruoyao Owned by: pierre
Priority: normal Milestone: 11.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New major version.

Change History (9)

comment:1 by pierre, 3 years ago

Owner: changed from blfs-book to pierre
Status: newassigned

comment:2 by ken@…, 3 years ago

Docs fail to build with python-3.10:

ImportError: cannot import name 'Union' from 'types' (/usr/lib/python3.10/types.py)
(on both of the two ninja targets)

Probably related to https://bugs.python.org/issue44732 'Rename types.Union to types.UnionType'

in reply to:  2 comment:3 by ken@…, 3 years ago

Replying to ken@…:

Docs fail to build with python-3.10:

ImportError: cannot import name 'Union' from 'types' (/usr/lib/python3.10/types.py)
(on both of the two ninja targets)

Probably related to https://bugs.python.org/issue44732 'Rename types.Union to types.UnionType'

The problem appears to be in Sphinx, might be because I last updated that in August (4.1.2) - latest is 4.2.0. Retrying.

comment:4 by pierre, 3 years ago

I've built llvm-13.0.0 with docs and tests without problems. I've rebuilt the most recent version of sphinx for python 3.10, though.

comment:5 by pierre, 3 years ago

Seventeen tests fail.

in reply to:  4 comment:6 by ken@…, 3 years ago

Replying to pierre:

I've built llvm-13.0.0 with docs and tests without problems. I've rebuilt the most recent version of sphinx for python 3.10, though.

Yes, docs are fine with latest sphinx - I mostly only check for newer versions of non-BLFS packages which I regularly build when we are coming up to a release.

comment:7 by ken@…, 3 years ago

For me, mesa-21.2.4 fails:

FAILED: src/gallium/drivers/swr/libmesaswr.a.p/rasterizer_jitter_builder_mem.cpp.o
[...]
../src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp:80:84: note:   no known conversion for argument 2 from ‘std::vector<llvm::Value*, std::allocator<llvm::Value*> >’ to ‘const std::initializer_list<llvm::Value*>&’

in reply to:  7 comment:8 by ken@…, 3 years ago

Replying to ken@…:

For me, mesa-21.2.4 fails:

FAILED: src/gallium/drivers/swr/libmesaswr.a.p/rasterizer_jitter_builder_mem.cpp.o
[...]
../src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp:80:84: note:   no known conversion for argument 2 from ‘std::vector<llvm::Value*, std::allocator<llvm::Value*> >’ to ‘const std::initializer_list<llvm::Value*>&’

Fixed: I'd been specifying swr as one of the gallium drivers, if that is not specified it builds for me. I had thought that driver installed /usr/lib/dri/kms_swrast_dri.so (that was my impression from using 21.2.2 in qemu and noticing that driver was missing), but this completed build does include that driver - and I'm still none the wiser about what might use it.

comment:9 by pierre, 3 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.