>>> mesa3d 21.1.6 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-3/output-1/build/.mesa-21.1.6.tar.xz.yRkMy2/output' 'https://archive.mesa3d.org/mesa-21.1.6.tar.xz' --2021-08-02 14:22:05-- https://archive.mesa3d.org/mesa-21.1.6.tar.xz Resolving archive.mesa3d.org (archive.mesa3d.org)... 2610:10:20:722:a800:ff:feda:470f, 131.252.210.176 Connecting to archive.mesa3d.org (archive.mesa3d.org)|2610:10:20:722:a800:ff:feda:470f|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 15371108 (15M) [application/x-xz] Saving to: '/tmp/instance-3/output-1/build/.mesa-21.1.6.tar.xz.yRkMy2/output' 0K .......... .......... .......... .......... .......... 0% 179K 84s 50K .......... .......... .......... .......... .......... 0% 356K 63s 100K .......... .......... .......... .......... .......... 0% 31.7M 42s 150K .......... .......... .......... .......... .......... 1% 357K 42s 200K .......... .......... .......... .......... .......... 1% 158M 33s 250K .......... .......... .......... .......... .......... 1% 238M 28s 300K .......... .......... .......... .......... .......... 2% 250M 24s 350K .......... .......... .......... .......... .......... 2% 278M 21s 400K .......... .......... .......... .......... .......... 2% 353K 23s 450K .......... .......... .......... .......... .......... 3% 129M 20s 500K .......... .......... .......... .......... .......... 3% 235M 19s 550K .......... .......... .......... .......... .......... 3% 268M 17s 600K .......... .......... .......... .......... .......... 4% 245M 16s 650K .......... .......... .......... .......... .......... 4% 271M 14s 700K .......... .......... .......... .......... .......... 4% 263M 13s 750K .......... .......... .......... .......... .......... 5% 269M 13s 800K .......... .......... .......... .......... .......... 5% 211M 12s 850K .......... .......... .......... .......... .......... 5% 361K 13s 900K .......... .......... .......... .......... .......... 6% 243M 12s 950K .......... .......... .......... .......... .......... 6% 215M 12s 1000K .......... .......... .......... .......... .......... 6% 208M 11s 1050K .......... .......... .......... .......... .......... 7% 226M 11s 1100K .......... .......... .......... .......... .......... 7% 237M 10s 1150K .......... .......... .......... .......... .......... 7% 205M 10s 1200K .......... .......... .......... .......... .......... 8% 196M 9s 1250K .......... .......... .......... .......... .......... 8% 222M 9s 1300K .......... .......... .......... .......... .......... 8% 231M 9s 1350K .......... .......... .......... .......... .......... 9% 249M 8s 1400K .......... .......... .......... .......... .......... 9% 244M 8s 1450K .......... .......... .......... .......... .......... 9% 213M 8s 1500K .......... .......... .......... .......... .......... 10% 148M 7s 1550K .......... .......... .......... .......... .......... 10% 5.57M 7s 1600K .......... .......... .......... .......... .......... 10% 216M 7s 1650K .......... .......... .......... .......... .......... 11% 265M 7s 1700K .......... .......... .......... .......... .......... 11% 269M 6s 1750K .......... .......... .......... .......... .......... 11% 380K 7s 1800K .......... .......... .......... .......... .......... 12% 203M 7s 1850K .......... .......... .......... .......... .......... 12% 213M 7s 1900K .......... .......... .......... .......... .......... 12% 258M 7s 1950K .......... .......... .......... .......... .......... 13% 269M 6s 2000K .......... .......... .......... .......... .......... 13% 166M 6s 2050K .......... .......... .......... .......... .......... 13% 207M 6s 2100K .......... .......... .......... .......... .......... 14% 237M 6s 2150K .......... .......... .......... .......... .......... 14% 209M 6s 2200K .......... .......... .......... .......... .......... 14% 208M 6s 2250K .......... .......... .......... .......... .......... 15% 237M 5s 2300K .......... .......... .......... .......... .......... 15% 204M 5s 2350K .......... .......... .......... .......... .......... 15% 232M 5s 2400K .......... .......... .......... .......... .......... 16% 125M 5s 2450K .......... .......... .......... .......... .......... 16% 236M 5s 2500K .......... .......... .......... .......... .......... 16% 242M 5s 2550K .......... .......... .......... .......... .......... 17% 197M 5s 2600K .......... .......... .......... .......... .......... 17% 183M 5s 2650K .......... .......... .......... .......... .......... 17% 240M 5s 2700K .......... .......... .......... .......... .......... 18% 197M 4s 2750K .......... .......... .......... .......... .......... 18% 197M 4s 2800K .......... .......... .......... .......... .......... 18% 6.86M 4s 2850K .......... .......... .......... .......... .......... 19% 253M 4s 2900K .......... .......... .......... .......... .......... 19% 249M 4s 2950K .......... .......... .......... .......... .......... 19% 250M 4s 3000K .......... .......... .......... .......... .......... 20% 229M 4s 3050K .......... .......... .......... .......... .......... 20% 266M 4s 3100K .......... .......... .......... .......... .......... 20% 265M 4s 3150K .......... .......... .......... .......... .......... 21% 269M 4s 3200K .......... .......... .......... .......... .......... 21% 202M 4s 3250K .......... .......... .......... .......... .......... 21% 261M 4s 3300K .......... .......... .......... .......... .......... 22% 271M 3s 3350K .......... .......... .......... .......... .......... 22% 260M 3s 3400K .......... .......... .......... .......... .......... 22% 241M 3s 3450K .......... .......... .......... .......... .......... 23% 245M 3s 3500K .......... .......... .......... .......... .......... 23% 412K 4s 3550K .......... .......... .......... .......... .......... 23% 232M 4s 3600K .......... .......... .......... .......... .......... 24% 219M 3s 3650K .......... .......... .......... .......... .......... 24% 262M 3s 3700K .......... .......... .......... .......... .......... 24% 234M 3s 3750K .......... .......... .......... .......... .......... 25% 6.70M 3s 3800K .......... .......... .......... .......... .......... 25% 202M 3s 3850K .......... .......... .......... .......... .......... 25% 178M 3s 3900K .......... .......... .......... .......... .......... 26% 185M 3s 3950K .......... .......... .......... .......... .......... 26% 235M 3s 4000K .......... .......... .......... .......... .......... 26% 173M 3s 4050K .......... .......... .......... .......... .......... 27% 142M 3s 4100K .......... .......... .......... .......... .......... 27% 230M 3s 4150K .......... .......... .......... .......... .......... 27% 198M 3s 4200K .......... .......... .......... .......... .......... 28% 173M 3s 4250K .......... .......... .......... .......... .......... 28% 237M 3s 4300K .......... .......... .......... .......... .......... 28% 220M 3s 4350K .......... .......... .......... .......... .......... 29% 208M 3s 4400K .......... .......... .......... .......... .......... 29% 164M 3s 4450K .......... .......... .......... .......... .......... 29% 259M 3s 4500K .......... .......... .......... .......... .......... 30% 200M 3s 4550K .......... .......... .......... .......... .......... 30% 243M 3s 4600K .......... .......... .......... .......... .......... 30% 192M 3s 4650K .......... .......... .......... .......... .......... 31% 209M 2s 4700K .......... .......... .......... .......... .......... 31% 221M 2s 4750K .......... .......... .......... .......... .......... 31% 155M 2s 4800K .......... .......... .......... .......... .......... 32% 175M 2s 4850K .......... .......... .......... .......... .......... 32% 219M 2s 4900K .......... .......... .......... .......... .......... 32% 226M 2s 4950K .......... .......... .......... .......... .......... 33% 226M 2s 5000K .......... .......... .......... .......... .......... 33% 196M 2s 5050K .......... .......... .......... .......... .......... 33% 206M 2s 5100K .......... .......... .......... .......... .......... 34% 214M 2s 5150K .......... .......... .......... .......... .......... 34% 196M 2s 5200K .......... .......... .......... .......... .......... 34% 176M 2s 5250K .......... .......... .......... .......... .......... 35% 214M 2s 5300K .......... .......... .......... .......... .......... 35% 243M 2s 5350K .......... .......... .......... .......... .......... 35% 229M 2s 5400K .......... .......... .......... .......... .......... 36% 137M 2s 5450K .......... .......... .......... .......... .......... 36% 230M 2s 5500K .......... .......... .......... .......... .......... 36% 6.45M 2s 5550K .......... .......... .......... .......... .......... 37% 264M 2s 5600K .......... .......... .......... .......... .......... 37% 214M 2s 5650K .......... .......... .......... .......... .......... 37% 270M 2s 5700K .......... .......... .......... .......... .......... 38% 278M 2s 5750K .......... .......... .......... .......... .......... 38% 269M 2s 5800K .......... .......... .......... .......... .......... 38% 247M 2s 5850K .......... .......... .......... .......... .......... 39% 257M 2s 5900K .......... .......... .......... .......... .......... 39% 267M 2s 5950K .......... .......... .......... .......... .......... 39% 254M 2s 6000K .......... .......... .......... .......... .......... 40% 223M 2s 6050K .......... .......... .......... .......... .......... 40% 261M 2s 6100K .......... .......... .......... .......... .......... 40% 439K 2s 6150K .......... .......... .......... .......... .......... 41% 245M 2s 6200K .......... .......... .......... .......... .......... 41% 193M 2s 6250K .......... .......... .......... .......... .......... 41% 207M 2s 6300K .......... .......... .......... .......... .......... 42% 223M 2s 6350K .......... .......... .......... .......... .......... 42% 206M 2s 6400K .......... .......... .......... .......... .......... 42% 9.02M 2s 6450K .......... .......... .......... .......... .......... 43% 235M 2s 6500K .......... .......... .......... .......... .......... 43% 258M 2s 6550K .......... .......... .......... .......... .......... 43% 260M 2s 6600K .......... .......... .......... .......... .......... 44% 219M 2s 6650K .......... .......... .......... .......... .......... 44% 261M 2s 6700K .......... .......... .......... .......... .......... 44% 262M 2s 6750K .......... .......... .......... .......... .......... 45% 250M 2s 6800K .......... .......... .......... .......... .......... 45% 6.03M 2s 6850K .......... .......... .......... .......... .......... 45% 200M 2s 6900K .......... .......... .......... .......... .......... 46% 215M 1s 6950K .......... .......... .......... .......... .......... 46% 217M 1s 7000K .......... .......... .......... .......... .......... 46% 214M 1s 7050K .......... .......... .......... .......... .......... 47% 230M 1s 7100K .......... .......... .......... .......... .......... 47% 201M 1s 7150K .......... .......... .......... .......... .......... 47% 261M 1s 7200K .......... .......... .......... .......... .......... 48% 167M 1s 7250K .......... .......... .......... .......... .......... 48% 206M 1s 7300K .......... .......... .......... .......... .......... 48% 270M 1s 7350K .......... .......... .......... .......... .......... 49% 134M 1s 7400K .......... .......... .......... .......... .......... 49% 201M 1s 7450K .......... .......... .......... .......... .......... 49% 227M 1s 7500K .......... .......... .......... .......... .......... 50% 257M 1s 7550K .......... .......... .......... .......... .......... 50% 189M 1s 7600K .......... .......... .......... .......... .......... 50% 151M 1s 7650K .......... .......... .......... .......... .......... 51% 234M 1s 7700K .......... .......... .......... .......... .......... 51% 200M 1s 7750K .......... .......... .......... .......... .......... 51% 256M 1s 7800K .......... .......... .......... .......... .......... 52% 163M 1s 7850K .......... .......... .......... .......... .......... 52% 185M 1s 7900K .......... .......... .......... .......... .......... 52% 142M 1s 7950K .......... .......... .......... .......... .......... 53% 251M 1s 8000K .......... .......... .......... .......... .......... 53% 175M 1s 8050K .......... .......... .......... .......... .......... 53% 223M 1s 8100K .......... .......... .......... .......... .......... 54% 219M 1s 8150K .......... .......... .......... .......... .......... 54% 188M 1s 8200K .......... .......... .......... .......... .......... 54% 192M 1s 8250K .......... .......... .......... .......... .......... 55% 127M 1s 8300K .......... .......... .......... .......... .......... 55% 128M 1s 8350K .......... .......... .......... .......... .......... 55% 120M 1s 8400K .......... .......... .......... .......... .......... 56% 190M 1s 8450K .......... .......... .......... .......... .......... 56% 153M 1s 8500K .......... .......... .......... .......... .......... 56% 209M 1s 8550K .......... .......... .......... .......... .......... 57% 201M 1s 8600K .......... .......... .......... .......... .......... 57% 218M 1s 8650K .......... .......... .......... .......... .......... 57% 219M 1s 8700K .......... .......... .......... .......... .......... 58% 214M 1s 8750K .......... .......... .......... .......... .......... 58% 438K 1s 8800K .......... .......... .......... .......... .......... 58% 174M 1s 8850K .......... .......... .......... .......... .......... 59% 138M 1s 8900K .......... .......... .......... .......... .......... 59% 221M 1s 8950K .......... .......... .......... .......... .......... 59% 217M 1s 9000K .......... .......... .......... .......... .......... 60% 215M 1s 9050K .......... .......... .......... .......... .......... 60% 13.2M 1s 9100K .......... .......... .......... .......... .......... 60% 228M 1s 9150K .......... .......... .......... .......... .......... 61% 271M 1s 9200K .......... .......... .......... .......... .......... 61% 213M 1s 9250K .......... .......... .......... .......... .......... 61% 272M 1s 9300K .......... .......... .......... .......... .......... 62% 273M 1s 9350K .......... .......... .......... .......... .......... 62% 276M 1s 9400K .......... .......... .......... .......... .......... 62% 245M 1s 9450K .......... .......... .......... .......... .......... 63% 276M 1s 9500K .......... .......... .......... .......... .......... 63% 30.0M 1s 9550K .......... .......... .......... .......... .......... 63% 270M 1s 9600K .......... .......... .......... .......... .......... 64% 36.1M 1s 9650K .......... .......... .......... .......... .......... 64% 127M 1s 9700K .......... .......... .......... .......... .......... 64% 129M 1s 9750K .......... .......... .......... .......... .......... 65% 121M 1s 9800K .......... .......... .......... .......... .......... 65% 236M 1s 9850K .......... .......... .......... .......... .......... 65% 8.67M 1s 9900K .......... .......... .......... .......... .......... 66% 125M 1s 9950K .......... .......... .......... .......... .......... 66% 96.3M 1s 10000K .......... .......... .......... .......... .......... 66% 98.0M 1s 10050K .......... .......... .......... .......... .......... 67% 123M 1s 10100K .......... .......... .......... .......... .......... 67% 114M 1s 10150K .......... .......... .......... .......... .......... 67% 112M 1s 10200K .......... .......... .......... .......... .......... 68% 108M 1s 10250K .......... .......... .......... .......... .......... 68% 21.9M 1s 10300K .......... .......... .......... .......... .......... 68% 129M 1s 10350K .......... .......... .......... .......... .......... 69% 110M 1s 10400K .......... .......... .......... .......... .......... 69% 75.8M 1s 10450K .......... .......... .......... .......... .......... 69% 102M 1s 10500K .......... .......... .......... .......... .......... 70% 124M 1s 10550K .......... .......... .......... .......... .......... 70% 36.4M 1s 10600K .......... .......... .......... .......... .......... 70% 120M 1s 10650K .......... .......... .......... .......... .......... 71% 101M 1s 10700K .......... .......... .......... .......... .......... 71% 209M 1s 10750K .......... .......... .......... .......... .......... 71% 203M 1s 10800K .......... .......... .......... .......... .......... 72% 172M 1s 10850K .......... .......... .......... .......... .......... 72% 219M 1s 10900K .......... .......... .......... .......... .......... 72% 196M 1s 10950K .......... .......... .......... .......... .......... 73% 11.4M 1s 11000K .......... .......... .......... .......... .......... 73% 211M 1s 11050K .......... .......... .......... .......... .......... 73% 264M 1s 11100K .......... .......... .......... .......... .......... 74% 267M 0s 11150K .......... .......... .......... .......... .......... 74% 113M 0s 11200K .......... .......... .......... .......... .......... 74% 217M 0s 11250K .......... .......... .......... .......... .......... 75% 256M 0s 11300K .......... .......... .......... .......... .......... 75% 270M 0s 11350K .......... .......... .......... .......... .......... 75% 269M 0s 11400K .......... .......... .......... .......... .......... 76% 242M 0s 11450K .......... .......... .......... .......... .......... 76% 268M 0s 11500K .......... .......... .......... .......... .......... 76% 252M 0s 11550K .......... .......... .......... .......... .......... 77% 269M 0s 11600K .......... .......... .......... .......... .......... 77% 219M 0s 11650K .......... .......... .......... .......... .......... 77% 259M 0s 11700K .......... .......... .......... .......... .......... 78% 260M 0s 11750K .......... .......... .......... .......... .......... 78% 251M 0s 11800K .......... .......... .......... .......... .......... 78% 478K 0s 11850K .......... .......... .......... .......... .......... 79% 6.10M 0s 11900K .......... .......... .......... .......... .......... 79% 263M 0s 11950K .......... .......... .......... .......... .......... 79% 192M 0s 12000K .......... .......... .......... .......... .......... 80% 204M 0s 12050K .......... .......... .......... .......... .......... 80% 268M 0s 12100K .......... .......... .......... .......... .......... 80% 264M 0s 12150K .......... .......... .......... .......... .......... 81% 205M 0s 12200K .......... .......... .......... .......... .......... 81% 240M 0s 12250K .......... .......... .......... .......... .......... 81% 250M 0s 12300K .......... .......... .......... .......... .......... 82% 266M 0s 12350K .......... .......... .......... .......... .......... 82% 270M 0s 12400K .......... .......... .......... .......... .......... 82% 124M 0s 12450K .......... .......... .......... .......... .......... 83% 268M 0s 12500K .......... .......... .......... .......... .......... 83% 252M 0s 12550K .......... .......... .......... .......... .......... 83% 10.1M 0s 12600K .......... .......... .......... .......... .......... 84% 232M 0s 12650K .......... .......... .......... .......... .......... 84% 271M 0s 12700K .......... .......... .......... .......... .......... 84% 6.14M 0s 12750K .......... .......... .......... .......... .......... 85% 252M 0s 12800K .......... .......... .......... .......... .......... 85% 145M 0s 12850K .......... .......... .......... .......... .......... 85% 267M 0s 12900K .......... .......... .......... .......... .......... 86% 273M 0s 12950K .......... .......... .......... .......... .......... 86% 272M 0s 13000K .......... .......... .......... .......... .......... 86% 162M 0s 13050K .......... .......... .......... .......... .......... 87% 254M 0s 13100K .......... .......... .......... .......... .......... 87% 256M 0s 13150K .......... .......... .......... .......... .......... 87% 254M 0s 13200K .......... .......... .......... .......... .......... 88% 125M 0s 13250K .......... .......... .......... .......... .......... 88% 254M 0s 13300K .......... .......... .......... .......... .......... 88% 259M 0s 13350K .......... .......... .......... .......... .......... 89% 273M 0s 13400K .......... .......... .......... .......... .......... 89% 170M 0s 13450K .......... .......... .......... .......... .......... 89% 266M 0s 13500K .......... .......... .......... .......... .......... 90% 257M 0s 13550K .......... .......... .......... .......... .......... 90% 268M 0s 13600K .......... .......... .......... .......... .......... 90% 176M 0s 13650K .......... .......... .......... .......... .......... 91% 267M 0s 13700K .......... .......... .......... .......... .......... 91% 270M 0s 13750K .......... .......... .......... .......... .......... 91% 14.1M 0s 13800K .......... .......... .......... .......... .......... 92% 220M 0s 13850K .......... .......... .......... .......... .......... 92% 259M 0s 13900K .......... .......... .......... .......... .......... 92% 272M 0s 13950K .......... .......... .......... .......... .......... 93% 144M 0s 14000K .......... .......... .......... .......... .......... 93% 206M 0s 14050K .......... .......... .......... .......... .......... 93% 264M 0s 14100K .......... .......... .......... .......... .......... 94% 244M 0s 14150K .......... .......... .......... .......... .......... 94% 258M 0s 14200K .......... .......... .......... .......... .......... 94% 7.78M 0s 14250K .......... .......... .......... .......... .......... 95% 255M 0s 14300K .......... .......... .......... .......... .......... 95% 270M 0s 14350K .......... .......... .......... .......... .......... 95% 266M 0s 14400K .......... .......... .......... .......... .......... 96% 228M 0s 14450K .......... .......... .......... .......... .......... 96% 484K 0s 14500K .......... .......... .......... .......... .......... 96% 209M 0s 14550K .......... .......... .......... .......... .......... 97% 264M 0s 14600K .......... .......... .......... .......... .......... 97% 240M 0s 14650K .......... .......... .......... .......... .......... 97% 268M 0s 14700K .......... .......... .......... .......... .......... 98% 271M 0s 14750K .......... .......... .......... .......... .......... 98% 271M 0s 14800K .......... .......... .......... .......... .......... 98% 217M 0s 14850K .......... .......... .......... .......... .......... 99% 271M 0s 14900K .......... .......... .......... .......... .......... 99% 7.72M 0s 14950K .......... .......... .......... .......... .......... 99% 271M 0s 15000K .......... 100% 180M=1.7s 2021-08-02 14:22:07 (8.65 MB/s) - '/tmp/instance-3/output-1/build/.mesa-21.1.6.tar.xz.yRkMy2/output' saved [15371108/15371108] mesa-21.1.6.tar.xz: OK (sha256: b1cb0122f911dfa9fe1f209a7061378c61a1448a280e711511ca72dad9999e37) mesa-21.1.6.tar.xz: OK (sha512: 5daf389aad4fe7ab3574f6af3aabc62ba8b3034004a0a0853dcc18ef6c8003d2f2195cc377dc57b30863ae4cf158149e3156247445ca2b11e401700011cb878c) >>> mesa3d 21.1.6 Extracting xzcat /tmp/instance-3/dl/mesa3d/mesa-21.1.6.tar.xz | tar --strip-components=1 -C /tmp/instance-3/output-1/build/mesa3d-21.1.6 -xf - >>> mesa3d 21.1.6 Patching Applying 0001-c99_math-import-isinf-for-uclibc-based-toolchains.patch using patch: patching file include/c99_math.h Applying 0002-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch using patch: patching file src/gallium/frontends/clover/meson.build Applying 0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch using patch: patching file meson_options.txt Hunk #1 succeeded at 133 (offset 10 lines). patching file src/gallium/drivers/vc4/meson.build patching file src/gallium/drivers/vc4/vc4_tiling.h Applying 0004-src-util-rand_xor-Include-stddef.h-to-fix-build-erro.patch using patch: patching file src/util/rand_xor.c >>> mesa3d 21.1.6 Configuring rm -rf /tmp/instance-3/output-1/build/mesa3d-21.1.6//build mkdir -p /tmp/instance-3/output-1/build/mesa3d-21.1.6//build sed -e 's%@TARGET_CROSS@%/tmp/instance-3/output-1/host/bin/riscv32-linux-%g' -e 's%@TARGET_ARCH@%riscv64%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e 's%@HOST_DIR@%/tmp/instance-3/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /tmp/instance-3/output-1/build/mesa3d-21.1.6//build/cross-compilation.conf PATH="/tmp/instance-3/output-1/host/bin:/tmp/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /tmp/instance-3/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/tmp/instance-3/output-1/build/mesa3d-21.1.6//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-3/output-1/host/lib/pkgconfig -Dgallium-omx=disabled -Dpower8=disabled -Dllvm=disabled -Dgallium-opencl=disabled -Dglx=disabled -Dgallium-xa=disabled -Dgallium-vc4-neon=disabled -Dshared-glapi=enabled -Dgallium-drivers=swrast -Dgallium-extra-hud=true -Ddri3=disabled -Dshared-glapi=enabled -Dglx-direct=true -Ddri-drivers=nouveau -Dvulkan-drivers= -Dosmesa=false -Dopengl=true -Dgallium-va=disabled -Dplatforms=wayland -Dgbm=enabled -Degl=enabled -Dgles1=disabled -Dgles2=disabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=disabled -Dzstd=disabled /tmp/instance-3/output-1/build/mesa3d-21.1.6/ /tmp/instance-3/output-1/build/mesa3d-21.1.6//build The Meson build system Version: 0.58.2 Source dir: /tmp/instance-3/output-1/build/mesa3d-21.1.6 Build dir: /tmp/instance-3/output-1/build/mesa3d-21.1.6/build Build type: cross build Program python found: YES (/tmp/instance-3/output-1/host/bin/python) Project name: mesa Project version: 21.1.6 C compiler for the host machine: /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc (gcc 10.2.0 "riscv32-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0") C linker for the host machine: /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc ld.bfd 2.34 C++ compiler for the host machine: /tmp/instance-3/output-1/host/bin/riscv32-linux-g++ (gcc 10.2.0 "riscv32-linux-g++.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0") C++ linker for the host machine: /tmp/instance-3/output-1/host/bin/riscv32-linux-g++ ld.bfd 2.34 C compiler for the build machine: /usr/bin/gcc (gcc 9.3.0 "gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.34 C++ compiler for the build machine: /usr/bin/g++ (gcc 9.3.0 "g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.34 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: riscv64 Host machine cpu: Target machine cpu family: riscv64 Target machine cpu: Found CMake: NO Run-time dependency clang found: NO (tried cmake) Program python3 found: YES (/tmp/instance-3/output-1/host/bin/python3) Fetching value of define "ETIME" : 62 Checking for function "bswap32" : YES Checking for function "bswap64" : YES Checking for function "clz" : YES Checking for function "clzll" : YES Checking for function "ctz" : YES Checking for function "expect" : YES Checking for function "ffs" : YES Checking for function "ffsll" : YES Checking for function "popcount" : YES Checking for function "popcountll" : YES Checking for function "unreachable" : YES Checking for function "types_compatible_p" : YES Compiler for C supports function attribute const: YES Compiler for C supports function attribute flatten: YES Compiler for C supports function attribute malloc: YES Compiler for C supports function attribute pure: YES Compiler for C supports function attribute unused: YES Compiler for C supports function attribute warn_unused_result: YES Compiler for C supports function attribute weak: YES Compiler for C supports function attribute format: YES Compiler for C supports function attribute packed: YES Compiler for C supports function attribute returns_nonnull: YES Compiler for C supports function attribute alias: YES Compiler for C supports function attribute noreturn: YES Compiler for C supports function attribute visibility:hidden: YES Checking if "__uint128_t" compiles: NO Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=empty-body: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: YES Compiler for C supports arguments -Werror=int-conversion: YES Compiler for C supports arguments -Wimplicit-fallthrough: YES Compiler for C supports arguments -Werror=thread-safety: NO Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-format-truncation: YES Compiler for C supports arguments -fno-math-errno: YES Compiler for C supports arguments -fno-trapping-math: YES Compiler for C supports arguments -Qunused-arguments: NO Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -Werror=format: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C++ supports arguments -Werror=return-type: YES Compiler for C++ supports arguments -Werror=empty-body: YES Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Compiler for C++ supports arguments -Wno-format-truncation: YES Compiler for C++ supports arguments -fno-math-errno: YES Compiler for C++ supports arguments -fno-trapping-math: YES Compiler for C++ supports arguments -Qunused-arguments: NO Compiler for C++ supports arguments -flifetime-dse=1: YES Compiler for C++ supports arguments -Werror=format: YES Compiler for C++ supports arguments -Wformat-security: YES Compiler for C supports arguments -Wno-override-init: YES Compiler for C supports arguments -Wno-initializer-overrides: NO Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C++ supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Werror=gnu-empty-initializer: NO Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO Compiler for C supports arguments -Wmicrosoft-enum-value: NO Checking if "GCC atomic builtins" compiles: YES Checking if "GCC atomic builtins required -latomic" links: NO Library atomic found: YES Checking if "GCC 64bit atomics" with dependency -latomic links: NO Library ws2_32 found: NO Header has symbol "major" : YES Header has symbol "minor" : YES Header has symbol "makedev" : YES Header has symbol "major" : NO Check usable header "xlocale.h" : NO Check usable header "linux/futex.h" : YES Check usable header "endian.h" : YES Check usable header "dlfcn.h" : YES Check usable header "execinfo.h" : YES Check usable header "sys/shm.h" : YES Check usable header "cet.h" : NO Check usable header "pthread_np.h" : NO Checking for function "strtof" : YES Checking for function "mkostemp" : YES Checking for function "timespec_get" : YES Checking for function "memfd_create" : YES Checking for function "random_r" : YES Checking for function "flock" : YES Checking for function "strtok_r" : YES Checking for function "getrandom" : YES Header has symbol "program_invocation_name" : YES Checking for function "posix_memalign" : YES Checking whether type "struct dirent" has member "d_type" : YES Checking if "strtod has locale support" links: YES Checking if "Bsymbolic" links: YES Checking if "gc-sections" links: YES Checking if "version-script" links: YES Checking if "dynamic-list" links: YES Compiler for C supports link arguments -Wl,--build-id=sha1: YES Checking for function "dlopen" : NO Library dl found: YES Checking for function "dladdr" with dependency -ldl: YES Checking for function "dl_iterate_phdr" : YES Checking for function "clock_gettime" : YES Found pkg-config: /tmp/instance-3/output-1/host/bin/pkgconf (1.6.3) Run-time dependency zlib found: YES 1.2.11 Run-time dependency threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: YES Run-time dependency expat found: YES 2.4.1 Library m found: YES Message: libdrm 2.4.102 needed because nouveau has the highest requirement Run-time dependency libdrm_nouveau found: YES 2.4.107 Run-time dependency libdrm found: YES 2.4.107 Program bison found: YES (/tmp/instance-3/output-1/host/bin/bison) Program bison found: YES 3.7.6 (/tmp/instance-3/output-1/host/bin/bison) Program flex found: YES (/tmp/instance-3/output-1/host/bin/flex) Found pkg-config: /tmp/instance-3/output-1/host/bin/pkg-config (1.6.3) Build-time dependency wayland-scanner found: YES 1.19.0 Program /tmp/instance-3/output-1/host/bin/wayland-scanner found: YES (/tmp/instance-3/output-1/host/bin/wayland-scanner) Run-time dependency wayland-protocols found: YES 1.20 Run-time dependency wayland-client found: YES 1.19.0 Run-time dependency wayland-server found: YES 1.19.0 Run-time dependency wayland-egl-backend found: YES 3 Compiler for C supports link arguments -Wl,--gc-sections: YES Compiler for C supports arguments -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: YES Program nm found: YES (/usr/bin/nm) Program symbols-check.py found: YES (/usr/bin/env python /tmp/instance-3/output-1/build/mesa3d-21.1.6/bin/symbols-check.py) Program install_megadrivers.py found: YES (/tmp/instance-3/output-1/host/bin/python3 /tmp/instance-3/output-1/build/mesa3d-21.1.6/bin/install_megadrivers.py) Program /tmp/instance-3/output-1/build/mesa3d-21.1.6/bin/install_megadrivers.py found: YES (/tmp/instance-3/output-1/host/bin/python3 /tmp/instance-3/output-1/build/mesa3d-21.1.6/bin/install_megadrivers.py) Checking for function "mincore" : YES Program /tmp/instance-3/output-1/build/mesa3d-21.1.6/bin/install_megadrivers.py found: YES (/tmp/instance-3/output-1/host/bin/python3 /tmp/instance-3/output-1/build/mesa3d-21.1.6/bin/install_megadrivers.py) Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: no ES2: no) OSMesa: no DRI platform: drm DRI drivers: nouveau DRI driver dir: /usr/lib/dri EGL: yes EGL drivers: builtin:egl_dri2 GBM: yes EGL/Vulkan/VL platforms: wayland surfaceless drm surfaceless drm Vulkan drivers: no llvm: no Gallium drivers: swrast Gallium st: mesa HUD lmsensors: no Shared-glapi: yes Build targets in project: 109 Option buildtype is: release [default: debugoptimized] Found ninja-1.10.2 at /tmp/instance-3/output-1/host/bin/ninja >>> mesa3d 21.1.6 Building PATH="/tmp/instance-3/output-1/host/bin:/tmp/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-3/output-1/host/bin/ninja -j96 -C /tmp/instance-3/output-1/build/mesa3d-21.1.6//build ninja: Entering directory `/tmp/instance-3/output-1/build/mesa3d-21.1.6//build' [1/1047] Generating git_sha1.h with a custom command [2/1047] Generating u_format_pack.h with a custom command (wrapped by meson to capture output) [3/1047] Generating u_format_table.c with a custom command (wrapped by meson to capture output) [4/1047] Generating driconf_static.h with a custom command [5/1047] Compiling C object src/util/libmesa_util.a.p/anon_file.c.o [6/1047] Compiling C object src/util/libmesa_util.a.p/blob.c.o [7/1047] Compiling C object src/util/libmesa_util.a.p/compress.c.o [8/1047] Compiling C object src/util/libmesa_util.a.p/bitscan.c.o [9/1047] Compiling C object src/util/libmesa_util.a.p/crc32.c.o [10/1047] Compiling C object src/util/libmesa_util.a.p/dag.c.o [11/1047] Compiling C object src/util/libmesa_util.a.p/build_id.c.o [12/1047] Compiling C object src/util/libmesa_util.a.p/half_float.c.o [13/1047] Compiling C object src/util/libmesa_util.a.p/double.c.o [14/1047] Compiling C object src/util/libmesa_util.a.p/debug.c.o [15/1047] Compiling C object src/util/libmesa_util.a.p/fast_idiv_by_const.c.o [16/1047] Compiling C object src/util/libmesa_util.a.p/ralloc.c.o [17/1047] Compiling C object src/util/libmesa_util.a.p/rand_xor.c.o [18/1047] Compiling C object src/util/libmesa_util.a.p/u_process.c.o [19/1047] Compiling C object src/util/libmesa_util.a.p/hash_table.c.o [20/1047] Compiling C object src/util/libmesa_util.a.p/u_idalloc.c.o [21/1047] Compiling C object src/util/libmesa_util.a.p/log.c.o [22/1047] Compiling C object src/util/libmesa_util.a.p/memstream.c.o [23/1047] Compiling C object src/util/libmesa_util.a.p/mesa-sha1.c.o [24/1047] Compiling C object src/util/libmesa_util.a.p/os_time.c.o [25/1047] Compiling C object src/util/libmesa_util.a.p/os_file.c.o [26/1047] Compiling C object src/util/libmesa_util.a.p/os_misc.c.o [27/1047] Compiling C object src/util/libmesa_util.a.p/os_socket.c.o [28/1047] Compiling C object src/util/libmesa_util.a.p/sha1_sha1.c.o [29/1047] Compiling C object src/util/libmesa_util.a.p/string_buffer.c.o [30/1047] Compiling C object src/util/libmesa_util.a.p/rb_tree.c.o [31/1047] Compiling C object src/util/libmesa_util.a.p/register_allocate.c.o [32/1047] Compiling C object src/util/libmesa_util.a.p/rgtc.c.o [33/1047] Compiling C object src/util/libmesa_util.a.p/set.c.o [34/1047] Compiling C object src/util/libmesa_util.a.p/slab.c.o [35/1047] Compiling C object src/util/libmesa_util.a.p/softfloat.c.o [36/1047] Compiling C object src/util/libmesa_util.a.p/sparse_array.c.o [37/1047] Compiling C object src/util/libmesa_util.a.p/strtod.c.o [38/1047] Compiling C object src/util/libmesa_util.a.p/u_debug.c.o [39/1047] Compiling C object src/util/libmesa_util.a.p/u_cpu_detect.c.o [40/1047] Compiling C object src/util/libmesa_util.a.p/u_math.c.o [41/1047] Compiling C object src/util/libmesa_util.a.p/u_mm.c.o [42/1047] Compiling C object src/util/libmesa_util.a.p/u_vector.c.o [43/1047] Compiling C++ object src/util/libmesa_util.a.p/u_printf.cpp.o [44/1047] Compiling C object src/util/libmesa_util.a.p/u_debug_stack.c.o [45/1047] Compiling C object src/util/libmesa_util.a.p/u_debug_memory.c.o [46/1047] Compiling C object src/util/libmesa_util.a.p/u_debug_symbol.c.o [47/1047] Compiling C object src/util/libmesa_util.a.p/vma.c.o [48/1047] Generating vtn_gather_types.c with a custom command [49/1047] Generating spirv_info.c with a custom command [50/1047] Generating vtn_generator_ids.h with a custom command [51/1047] Generating nir_intrinsics.h with a custom command [52/1047] Generating nir_intrinsics_indices.h with a custom command [53/1047] Generating nir_intrinsic.c with a custom command [54/1047] Generating glcpp-parse.[ch] with a custom command [55/1047] Generating glcpp-lex.c with a custom command [56/1047] Generating float64_glsl.h with a custom command [57/1047] Generating glsl_lexer_cpp with a custom command [58/1047] Generating wayland-drm-protocol.c with a custom command [59/1047] Generating wayland-drm-client-protocol.h with a custom command [60/1047] Generating wayland-drm-server-protocol.h with a custom command [61/1047] Generating linux-dmabuf-unstable-v1-protocol.c with a custom command [62/1047] Generating mesa_lex with a custom command [63/1047] Generating linux-dmabuf-unstable-v1-client-protocol.h with a custom command [64/1047] Compiling C object src/util/libmesa_util.a.p/fossilize_db.c.o FAILED: src/util/libmesa_util.a.p/fossilize_db.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/fossilize_db.c.o -MF src/util/libmesa_util.a.p/fossilize_db.c.o.d -o src/util/libmesa_util.a.p/fossilize_db.c.o -c ../src/util/fossilize_db.c In file included from ../src/util/simple_mtx.h:27, from ../src/util/fossilize_db.h:44, from ../src/util/fossilize_db.c:31: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/util/simple_mtx.h:27, from ../src/util/fossilize_db.h:44, from ../src/util/fossilize_db.c:31: ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [65/1047] Compiling C object src/util/libmesa_util.a.p/disk_cache.c.o FAILED: src/util/libmesa_util.a.p/disk_cache.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/disk_cache.c.o -MF src/util/libmesa_util.a.p/disk_cache.c.o.d -o src/util/libmesa_util.a.p/disk_cache.c.o -c ../src/util/disk_cache.c In file included from ../src/util/u_queue.h:38, from ../src/util/disk_cache_os.h:27, from ../src/util/disk_cache.c:49: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [66/1047] Compiling C object src/util/libmesa_util.a.p/disk_cache_os.c.o FAILED: src/util/libmesa_util.a.p/disk_cache_os.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/disk_cache_os.c.o -MF src/util/libmesa_util.a.p/disk_cache_os.c.o.d -o src/util/libmesa_util.a.p/disk_cache_os.c.o -c ../src/util/disk_cache_os.c In file included from ../src/util/u_queue.h:38, from ../src/util/disk_cache_os.h:27, from ../src/util/disk_cache_os.c:64: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [67/1047] Compiling C object src/util/libmesa_util.a.p/u_atomic.c.o ../src/util/u_atomic.c:38:1: warning: conflicting types for built-in function '__sync_add_and_fetch_8'; expected 'long long unsigned int(volatile void *, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 38 | __sync_add_and_fetch_8(uint64_t *ptr, uint64_t val) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/util/u_atomic.c:51:1: warning: conflicting types for built-in function '__sync_sub_and_fetch_8'; expected 'long long unsigned int(volatile void *, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 51 | __sync_sub_and_fetch_8(uint64_t *ptr, uint64_t val) | ^~~~~~~~~~~~~~~~~~~~~~ ../src/util/u_atomic.c:64:1: warning: conflicting types for built-in function '__sync_val_compare_and_swap_8'; expected 'long long unsigned int(volatile void *, long long unsigned int, long long unsigned int)' [-Wbuiltin-declaration-mismatch] 64 | __sync_val_compare_and_swap_8(uint64_t *ptr, uint64_t oldval, uint64_t newval) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [68/1047] Compiling C object src/util/libmesa_util.a.p/u_queue.c.o FAILED: src/util/libmesa_util.a.p/u_queue.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/util/libmesa_util.a.p -Isrc/util -I../src/util -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Werror=pointer-arith -MD -MQ src/util/libmesa_util.a.p/u_queue.c.o -MF src/util/libmesa_util.a.p/u_queue.c.o.d -o src/util/libmesa_util.a.p/u_queue.c.o -c ../src/util/u_queue.c In file included from ../src/util/u_queue.h:38, from ../src/util/u_queue.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in In file included from ../src/util/u_queue.h:38, from ../src/util/u_queue.c:27: ../src/util/futex.h:40:1: error: control reaches end of non-void function [-Werror=return-type] 40 | } | ^ cc1: some warnings being treated as errors [69/1047] Generating ir_expression_operation.h with a custom command (wrapped by meson to capture output) [70/1047] Generating nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [71/1047] Generating nir_opcodes.h with a custom command (wrapped by meson to capture output) [72/1047] Generating nir_opcodes.c with a custom command (wrapped by meson to capture output) [73/1047] Generating ir_expression_operation_strings.h with a custom command (wrapped by meson to capture output) [74/1047] Generating program_parse_tab.[ch] with a custom command [75/1047] Generating format_fallback.c with a custom command [76/1047] Compiling C object src/util/format/libmesa_format.a.p/u_format_latc.c.o [77/1047] Compiling C object src/util/format/libmesa_format.a.p/u_format_other.c.o [78/1047] Compiling C object src/util/format/libmesa_format.a.p/u_format.c.o [79/1047] Compiling C object src/util/format/libmesa_format.a.p/u_format_etc.c.o [80/1047] Compiling C object src/util/format/libmesa_format.a.p/u_format_fxt1.c.o [81/1047] Compiling C object src/util/format/libmesa_format.a.p/u_format_rgtc.c.o [82/1047] Compiling C object src/util/format/libmesa_format.a.p/u_format_tests.c.o [83/1047] Compiling C object src/util/format/libmesa_format.a.p/u_format_zs.c.o [84/1047] Compiling C object src/util/libxmlconfig.a.p/xmlconfig.c.o [85/1047] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_matrix_filter.c.o [86/1047] Compiling C object src/mesa/drivers/dri/common/libmegadriver_stub.a.p/megadriver_stub.c.o [87/1047] Compiling C object src/loader/libloader.a.p/loader.c.o [88/1047] Compiling C object src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o FAILED: src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/common/libdricommon.a.p -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o -MF src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o.d -o src/mesa/drivers/dri/common/libdricommon.a.p/utils.c.o -c ../src/mesa/drivers/dri/common/utils.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/common/utils.c:38: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [89/1047] Compiling C object src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o FAILED: src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/common/libdricommon.a.p -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o -MF src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o.d -o src/mesa/drivers/dri/common/libdricommon.a.p/dri_util.c.o -c ../src/mesa/drivers/dri/common/dri_util.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/main/extensions.h:39, from ../src/mesa/main/context.h:54, from ../src/mesa/drivers/dri/common/utils.h:33, from ../src/mesa/drivers/dri/common/dri_util.c:44: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [90/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_bufferobj.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_bufferobj.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_bufferobj.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_bufferobj.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_bufferobj.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_bufferobj.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_bufferobj.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [91/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_context.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_context.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_context.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_context.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_context.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_context.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_context.c:29: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [92/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_span.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_span.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_span.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_span.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_span.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_span.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_span.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [93/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_context.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_context.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_context.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_context.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_context.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_context.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_context.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [94/1047] Compiling C object src/loader/libloader.a.p/pci_id_driver_map.c.o [95/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_surface.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_surface.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_surface.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_surface.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_surface.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_surface.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_surface.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [96/1047] Compiling C object src/gbm/libgbm.so.1.0.0.p/main_backend.c.o [97/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_scratch.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_scratch.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_scratch.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_scratch.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_scratch.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_scratch.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_scratch.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [98/1047] Compiling C object src/util/format/libmesa_format.a.p/u_format_yuv.c.o [99/1047] Generating nir_constant_expressions.c with a custom command (wrapped by meson to capture output) [100/1047] Generating ir_expression_operation_constant.h with a custom command (wrapped by meson to capture output) [101/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_fbo.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_fbo.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_fbo.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_fbo.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_fbo.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_fbo.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_fbo.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [102/1047] Generating enums.c with a custom command (wrapped by meson to capture output) [103/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_array.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_array.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_array.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_array.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_array.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_array.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/main/bufferobj.h:32, from ../src/mesa/drivers/dri/nouveau/nouveau_array.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [104/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_state.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_state.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_state.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_state.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_state.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_state.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_state.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [105/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_texture.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_texture.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_texture.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_texture.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_texture.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_texture.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_texture.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [106/1047] Compiling C object src/egl/wayland/wayland-drm/libwayland_drm.a.p/meson-generated_.._wayland-drm-protocol.c.o [107/1047] Generating format_info.h with a custom command (wrapped by meson to capture output) [108/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_fb.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_fb.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_fb.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_fb.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_fb.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_state_fb.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_state_fb.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [109/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_screen.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_screen.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_screen.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_screen.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_screen.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_screen.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nouveau_screen.c:30: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [110/1047] Generating glsl_parser with a custom command [111/1047] Generating format_pack.c with a custom command (wrapped by meson to capture output) [112/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_driver.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_driver.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_driver.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_driver.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nouveau_driver.c.o -c ../src/mesa/drivers/dri/nouveau/nouveau_driver.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.c:28: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [113/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_fb.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_fb.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_fb.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_fb.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_fb.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_state_fb.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_state_fb.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [114/1047] Compiling C object src/egl/wayland/wayland-drm/libwayland_drm.a.p/wayland-drm.c.o [115/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_tex.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_tex.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_tex.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_tex.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_tex.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_state_tex.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_state_tex.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [116/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_frag.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_frag.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_frag.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_frag.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_frag.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_state_frag.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_state_frag.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [117/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_raster.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_raster.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_raster.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_raster.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_raster.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_state_raster.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_state_raster.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [118/1047] Compiling C object src/gbm/libgbm.so.1.0.0.p/main_gbm.c.o [119/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_context.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_context.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_context.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_context.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_context.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_context.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/main/state.h:29, from ../src/mesa/drivers/dri/nouveau/nv10_context.c:28: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [120/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_render.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_render.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_render.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_render.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_render.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_render.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_render.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [121/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_frag.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_frag.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_frag.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_frag.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_state_frag.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_state_frag.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_state_frag.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [122/1047] Compiling C object src/util/format/libmesa_format.a.p/u_format_s3tc.c.o [123/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_polygon.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_polygon.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_polygon.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_polygon.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_polygon.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_state_polygon.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_state_polygon.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [124/1047] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-parse.c.o FAILED: src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-parse.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/compiler/glsl/glcpp/libglcpp.a.p -Isrc/compiler/glsl/glcpp -I../src/compiler/glsl/glcpp -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Wno-override-init -Werror=pointer-arith -MD -MQ src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-parse.c.o -MF src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-parse.c.o.d -o src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-parse.c.o -c src/compiler/glsl/glcpp/glcpp-parse.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/compiler/glsl/glcpp/glcpp-parse.y:32: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [125/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_context.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_context.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_context.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_context.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_context.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_context.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_context.c:28: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [126/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_polygon.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_polygon.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_polygon.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_polygon.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_polygon.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_state_polygon.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_state_polygon.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [127/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_surface.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_surface.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_surface.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_surface.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv04_surface.c.o -c ../src/mesa/drivers/dri/nouveau/nv04_surface.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv04_surface.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [128/1047] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/pp.c.o FAILED: src/compiler/glsl/glcpp/libglcpp.a.p/pp.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/compiler/glsl/glcpp/libglcpp.a.p -Isrc/compiler/glsl/glcpp -I../src/compiler/glsl/glcpp -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Wno-override-init -Werror=pointer-arith -MD -MQ src/compiler/glsl/glcpp/libglcpp.a.p/pp.c.o -MF src/compiler/glsl/glcpp/libglcpp.a.p/pp.c.o.d -o src/compiler/glsl/glcpp/libglcpp.a.p/pp.c.o -c ../src/compiler/glsl/glcpp/pp.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/compiler/glsl/glcpp/pp.c:28: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [129/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_frag.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_frag.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_frag.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_frag.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_frag.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_state_frag.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_state_frag.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [130/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_render.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_render.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_render.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_render.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_render.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_render.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_render.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [131/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_raster.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_raster.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_raster.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_raster.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_raster.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_state_raster.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_state_raster.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [132/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tnl.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tnl.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tnl.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tnl.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tnl.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_state_tnl.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_state_tnl.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [133/1047] Compiling C object src/gallium/auxiliary/libgalliumvl.a.p/vl_vl_mc.c.o [134/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tex.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tex.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tex.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tex.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv10_state_tex.c.o -c ../src/mesa/drivers/dri/nouveau/nv10_state_tex.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv10_state_tex.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [135/1047] Generating marshal_generated4.c with a custom command (wrapped by meson to capture output) [136/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tnl.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tnl.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tnl.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tnl.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tnl.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_state_tnl.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_state_tnl.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [137/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_raster.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_raster.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_raster.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_raster.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_raster.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_state_raster.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_state_raster.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [138/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_fb.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_fb.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_fb.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_fb.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_fb.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_state_fb.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_state_fb.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [139/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_render.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_render.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_render.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_render.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_render.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_render.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_render.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [140/1047] Compiling C object src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tex.c.o FAILED: src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tex.c.o /tmp/instance-3/output-1/host/bin/riscv32-linux-gcc -Isrc/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p -Isrc/mesa/drivers/dri/nouveau -I../src/mesa/drivers/dri/nouveau -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mesa/drivers/dri/common -I../src/mesa/drivers/dri/common -Isrc/util -I../src/util -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm -I/tmp/instance-3/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c99 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DMISSING_64BIT_ATOMICS -DMAJOR_IN_SYSMACROS -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_GALLIUM_EXTRA_HUD=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tex.c.o -MF src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tex.c.o.d -o src/mesa/drivers/dri/nouveau/libnouveau_vieux.a.p/nv20_state_tex.c.o -c ../src/mesa/drivers/dri/nouveau/nv20_state_tex.c In file included from ../src/util/u_queue.h:38, from ../src/mesa/main/glthread.h:51, from ../src/mesa/main/mtypes.h:42, from ../src/mesa/drivers/dri/nouveau/nouveau_driver.h:31, from ../src/mesa/drivers/dri/nouveau/nv20_state_tex.c:27: ../src/util/futex.h: In function 'sys_futex': ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); | ^~~~~~~~~ | sys_futex ../src/util/futex.h:39:19: note: each undeclared identifier is reported only once for each function it appears in [141/1047] Compiling C object src/gbm/libgbm.so.1.0.0.p/backends_dri_gbm_dri.c.o [142/1047] Compiling C object src/util/format/libmesa_format.a.p/u_format_bptc.c.o [143/1047] Generating marshal_generated6.c with a custom command (wrapped by meson to capture output) [144/1047] Generating marshal_generated5.c with a custom command (wrapped by meson to capture output) [145/1047] Generating marshal_generated2.c with a custom command (wrapped by meson to capture output) [146/1047] Generating marshal_generated0.c with a custom command (wrapped by meson to capture output) [147/1047] Generating marshal_generated7.c with a custom command (wrapped by meson to capture output) [148/1047] Compiling C object src/compiler/glsl/glcpp/libglcpp.a.p/meson-generated_.._glcpp-lex.c.o [149/1047] Generating marshal_generated3.c with a custom command (wrapped by meson to capture output) [150/1047] Generating api_exec.c with a custom command (wrapped by meson to capture output) [151/1047] Generating marshal_generated1.c with a custom command (wrapped by meson to capture output) [152/1047] Generating get_hash.h with a custom command (wrapped by meson to capture output) [153/1047] Generating remap_helper.h with a custom command (wrapped by meson to capture output) [154/1047] Generating shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [155/1047] Generating dispatch.h with a custom command (wrapped by meson to capture output) [156/1047] Generating marshal_generated.h with a custom command (wrapped by meson to capture output) [157/1047] Generating format_srgb with a custom command (wrapped by meson to capture output) [158/1047] Generating nir_opt_algebraic.c with a custom command (wrapped by meson to capture output) [159/1047] Compiling C object src/util/format/libmesa_format.a.p/meson-generated_.._u_format_table.c.o ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:270: /tmp/instance-3/output-1/build/mesa3d-21.1.6/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-3/buildroot'