ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
co1umbarius has joined #dri-devel
columbarius has quit [Ping timeout: 480 seconds]
darkapex2 has left #dri-devel [#dri-devel]
darkapex has joined #dri-devel
Lyude has quit [Quit: WeeChat 3.2]
Lyude has joined #dri-devel
Guest937 is now known as alatiera
lyudess has joined #dri-devel
Lyude has quit [Ping timeout: 480 seconds]
<graphitemaster>
I think what is more impressive is that offsetof is required to yield a constant expression so like `enum { V = offsetof(struct foo, bar) }` needs to compile, it makes you think that for the historical implementation of offsetof to work, the compiler's constant evaluator now needs to model concepts of pointers, storage, address, casting, and dereferencing of a null pointer just to compute the offset here, and guess what, GCC
<graphitemaster>
actually DOES but yeah, __builtin_offsetof seems more appropriate to me here anyways.
sukbeom has joined #dri-devel
Surkow|laptop has quit [Remote host closed the connection]
Surkow|laptop has joined #dri-devel
Lyude has joined #dri-devel
lyudess has quit [Ping timeout: 480 seconds]
sukbeom has quit [Ping timeout: 480 seconds]
shashank1202 has quit [Quit: Connection closed for inactivity]
camus has joined #dri-devel
lemonzest has joined #dri-devel
Company has quit [Ping timeout: 480 seconds]
Company has joined #dri-devel
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
macromorgan is now known as Guest1001
Guest1001 has quit [Read error: Connection reset by peer]
macromorgan has joined #dri-devel
ppascher has quit [Ping timeout: 480 seconds]
mranosta1 has joined #dri-devel
mranostaj has quit [Ping timeout: 480 seconds]
shashanks has joined #dri-devel
flacks has quit [Quit: Quitter]
flacks has joined #dri-devel
camus has joined #dri-devel
shashanks has quit [Remote host closed the connection]
shashanks has joined #dri-devel
flacks has quit []
camus1 has quit [Ping timeout: 480 seconds]
flacks has joined #dri-devel
Ahuj has quit [Remote host closed the connection]
Duke`` has joined #dri-devel
sukbeom has joined #dri-devel
shashank1202 has joined #dri-devel
camus1 has joined #dri-devel
mlankhorst has joined #dri-devel
camus has quit [Remote host closed the connection]
sukbeom has quit [Remote host closed the connection]
sukbeom has joined #dri-devel
perr has joined #dri-devel
perr has quit [Remote host closed the connection]
Company has quit [Quit: Leaving]
rasterman has joined #dri-devel
camus has joined #dri-devel
camus1 has quit [Ping timeout: 480 seconds]
Ahuj has joined #dri-devel
danvet has joined #dri-devel
hikiko_bsd has joined #dri-devel
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
perr has joined #dri-devel
JohnnyonFlame has quit [Remote host closed the connection]
gouchi has joined #dri-devel
i-garrison has quit [Ping timeout: 480 seconds]
i-garrison has joined #dri-devel
camus1 has quit [Remote host closed the connection]
camus has joined #dri-devel
rbrune has joined #dri-devel
pcercuei has joined #dri-devel
evadot has quit [Remote host closed the connection]
perr has quit [Ping timeout: 480 seconds]
evadot has joined #dri-devel
evadot has quit []
evadot has joined #dri-devel
thellstrom has joined #dri-devel
rbrune has quit [Ping timeout: 480 seconds]
thellstrom1 has quit [Ping timeout: 480 seconds]
mesa_question has joined #dri-devel
mesa_question has quit []
blue_pill has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
kem has quit [Ping timeout: 480 seconds]
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
kem has joined #dri-devel
JeSCaLis23-F has joined #dri-devel
<blue_pill>
Hello
<blue_pill>
I'm trying to build mesa
<blue_pill>
I can't make changes to the system so I'm going via the "install local libraries" route when something is not there or supported
<blue_pill>
I downloaded llvm and built it to a dir "(my_dir_ommited)/llvm-project"
<blue_pill>
I tried to make it work during meson build for mesa and these are the steps I tried to do to get llvm working:
<blue_pill>
setenv PKG_CONFIG_PATH my_dir_ommited/llvm-project/build/bin/llvm-config:$PKG_CONFIG_PATH From build path I also edited this ./meson-private/cmake_LLVM/CMakeLists.txt : set (search_paths ${PATH_TO_LLVM} ${PATH_TO_LLVM}/lib/cmake ${PATH_TO_LLVM}/lib/cmake/llvm ${PATH_TO_LLVM}/lib/cmake/clang ${PATH_TO_LLVM}/share/clang/cmake/ ${PATH_TO_LLVM}/share/llvm/cmake/ ) With "PATH_TO_LLVM" set to (my_dir_ommited)/llvm-project/build/bin/llvm-conf
<blue_pill>
(oops new lines don;t work in IIRC)
<blue_pill>
One issue that looks to have solved one part of the llvm steps:
<blue_pill>
Looking for a fallback subproject for the dependency llvm (modules: bitwriter, engine, mcdisassembler, mcjit, core, executionengine, scalaropts, transformutils, instcombine, amdgpu, native, bitreader, ipo, asmparser, native)
<blue_pill>
../meson.build:1647:2: ERROR: Neither a subproject directory nor a llvm.wrap file was found.
<blue_pill>
That's how far I've reached, I don't know what else to do I even tried setting the $PATH, any help would be appreciated, sorry fo r the many messages
kts has joined #dri-devel
shashank1202 has quit [Quit: Connection closed for inactivity]
Guest594 is now known as gruetzkopf
camus has joined #dri-devel
kts has quit []
camus1 has quit [Read error: Connection reset by peer]
JeSCaLis23-F has quit []
gouchi has quit [Remote host closed the connection]
<blue_pill>
hmmmmm it kinda.... worked with new error
<blue_pill>
WARNING: CMake: Dependency rt for LLVM target LLVMSupport was not found
<blue_pill>
WARNING: CMake: Dependency dl for LLVM target LLVMSupport was not found
<blue_pill>
WARNING: CMake: Dependency m for LLVM target LLVMSupport was not found
<blue_pill>
WARNING: Ignoring LLVM CMake dependency because dynamic was requested
<blue_pill>
can i change to static? i always see this "because dynamic was requested" but i didn't request anything :P
<jenatali>
Those warnings will go away if you remove the paths you added for Meson to find LLVM via CMake
<jenatali>
You want it to find the config tool, either by path or by using a native file
<jenatali>
Or I guess you could set -Dshared-llvm=disabled to force it to link statically
flacks has quit [Quit: Quitter]
<blue_pill>
do i need "RT, "DL" and "m" dependencied for LLVM? setting it to static seems to make the error ignored and move on
<dcbaker>
Those are all part of glibc
<blue_pill>
that sounds serious
<blue_pill>
(this is my first "custom" build, apologies)
sukbeom has quit [Ping timeout: 480 seconds]
macromorgan is now known as Guest1037
Guest1037 has quit [Read error: Connection reset by peer]
macromorgan has joined #dri-devel
<blue_pill>
why is mesa asking for so many dependencies :(
<blue_pill>
besides llvm "m", "RT" , "DL" it is asking for wayland-scanner... on an rhe7 machine o.o
dliviu has quit [Ping timeout: 480 seconds]
dliviu has joined #dri-devel
hch12907 has quit [Ping timeout: 480 seconds]
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
Ahuj has joined #dri-devel
flacks has joined #dri-devel
JohnnyonFlame has joined #dri-devel
tobiasjakobi has joined #dri-devel
camus1 has quit [Remote host closed the connection]
camus has joined #dri-devel
<Venemo>
blue_pill: some of those dependencies are optional in mesa
<blue_pill>
Venemo: is there a way to say to meson that I only need llvmpipe (i'm targeting opengl3) so it restricts teh erquiremetns?
<blue_pill>
requirements*
<Venemo>
yes
<Venemo>
just select llvmpipe
<blue_pill>
like -Dtarget=llvmpipe ?
<Venemo>
meson -Ddri-drivers= -Dgallium-drivers= -Dvulkan-drivers= <-- fill in the drivers you need
tobiasjakobi has quit [Remote host closed the connection]
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit [Remote host closed the connection]
gawin has quit [Ping timeout: 480 seconds]
kem has quit [Ping timeout: 480 seconds]
kem has joined #dri-devel
rbrune has joined #dri-devel
gawin has joined #dri-devel
NiksDev has joined #dri-devel
<airlied>
HdkR: pretty aurw that offsetof macro on clang was ub
<airlied>
if passed NULL
<HdkR>
Wha? What'd I do?
<airlied>
oops was DrNick
* airlied
needs glasses for phone irc :-)
<HdkR>
Does offsetof even work for variables, I thought the first argument was a type?
<HdkR>
So you'd have to do a decltype potentially with pointer peeling?
hikiko_bsd has quit [Ping timeout: 480 seconds]
danvet has quit [Ping timeout: 480 seconds]
gawin has quit [Ping timeout: 480 seconds]
gawin has joined #dri-devel
gawin has quit [Ping timeout: 480 seconds]
X-Scale has joined #dri-devel
X-Scale` has quit [Ping timeout: 480 seconds]
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
lyudess has joined #dri-devel
camus has joined #dri-devel
camus1 has quit [Ping timeout: 480 seconds]
Lyude has quit [Ping timeout: 480 seconds]
gouchi has quit [Remote host closed the connection]
camus1 has joined #dri-devel
lemonzest has quit [Quit: WeeChat 3.2]
camus has quit [Ping timeout: 480 seconds]
Ahuj has quit [Ping timeout: 480 seconds]
gawin has joined #dri-devel
<mareko>
airlied: that's a different issue from the one ubsan is reporting: it's reporting that applying a _zero_ offset to NULL is undefined, while the link talks about non-zero
<mareko>
what ubsan doesn't recognize is that &p->Base is equal to (void*)p, and I think it treats it as a non-zero offset
flacks has quit [Read error: Connection reset by peer]
flacks has joined #dri-devel
Lyude has joined #dri-devel
lyudess has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
rbrune has quit [Ping timeout: 480 seconds]
pcercuei has quit [Quit: dodo]
danvet has joined #dri-devel
<gawin>
mareko: I have something more interesting in translate_vertex_program of r3xx_vertprog.c break opcode isn't implemented, it causes many compilation errors in piglit's tests
<gawin>
(though not sure how to implement it yet)
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #dri-devel
shashank1202 has joined #dri-devel
camus has joined #dri-devel
camus1 has quit [Ping timeout: 480 seconds]
camus has quit [Remote host closed the connection]
X-Scale` has joined #dri-devel
camus has joined #dri-devel
X-Scale has quit [Ping timeout: 480 seconds]
fly has joined #dri-devel
kts has joined #dri-devel
sukbeom has joined #dri-devel
danvet has quit [Ping timeout: 480 seconds]
ppascher has joined #dri-devel
mlankhorst has quit [Ping timeout: 480 seconds]
fly has quit [Ping timeout: 480 seconds]
oneforall2 has quit [Quit: Leaving]
gawin has quit [Quit: Konversation terminated!]
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
iive has quit []
blue_pill has quit [Remote host closed the connection]
camus1 has quit [Remote host closed the connection]