This shows you the differences between two versions of the page.
|
ep:labs:04:contents:tasks:ex4 [2026/03/23 19:39] maria.popescu2812 [04. [40p] Intel PIN] |
ep:labs:04:contents:tasks:ex4 [2026/03/24 13:25] (current) radu.mantu |
||
|---|---|---|---|
| Line 57: | Line 57: | ||
| $ patch src/minspect.cpp patches/Task-A.patch | $ patch src/minspect.cpp patches/Task-A.patch | ||
| </code> | </code> | ||
| + | |||
| + | <note tip> | ||
| + | **Troubleshooting** | ||
| + | ----- | ||
| + | If you get //a lot// of compilation errors, the easiest solution we have right now is to boot up an Arch Linux container and use ''g++ 15.2.1'' instead of ''13.3''. Here's how you do it and how you install the dependencies once it's up and running: | ||
| + | |||
| + | <code bash> | ||
| + | [student@host ~]$ docker run -ti archlinux:latest | ||
| + | |||
| + | # sync package database with remote server & install dependencies | ||
| + | [root@arch ~]$ pacman -Sy | ||
| + | [root@arch ~]$ pacman -S base-devel git wget neovim | ||
| + | </code> | ||
| + | |||
| + | After you clone the [[https://github.com/cs-pub-ro/EP-labs|EP-labs]] repo, run ''setup.sh'' again and try to compile the project, you may still get //one// error regarding an undefined field called **m_base**. This is an error in their source code; just find the file and delete the **m** in **m_base**. That's why you have **nvim** installed ;) | ||
| + | </note> | ||
| === [10p] Task B - Instrumentation Callbacks === | === [10p] Task B - Instrumentation Callbacks === | ||