StarRocks/starrocks

The system dependencies used by tenann in branch-3.4.5 are not compiled with PIC enabled. May I ask if this will be considered for enabling in the future?

Open

Aperta il 28 feb 2026

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)Java (5717 star) (1246 fork)batch import
good first issuetype/bug

Descrizione

Enabling the -pie compilation results in the following error:

/usr/local/bin/ld: /usr1/opensourcebuild/StarRocks/code/thirdparty/installed//lib/libtenann-bundle-avx2.a(parallel.o): relocation R_X86_64_32 against hidden symbol `gomp_global_icv' can not be used when making a PIE object %F/usr/local/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status execute failed, /opt/buildtools/gcc_12.3.0/bin/../bin/g++: Operation not permitted ninja: build stopped: subcommand failed.

real 0m48.010s user 0m4.282s sys 0m9.253s [CloudCache] 2026/02/27 22:00:35 [ { "type": "c", "total": "6", "remote_hit": "0", "remote_avg_cost": "", "hash_avg_cost": "3ms", "local_hit": { "direct": "2", "preprocessed": "0" }, "miss": "0", "skip": "4" } ]

StarRocks version (Required)

  • 3.4.5

Guida contributor