bugTiny C Compiler - Bugs: bug #65490, tcc 0.9.28rc: The builtin linker...

 
 

bug #65490: tcc 0.9.28rc: The builtin linker does not support "-znodelete"

Submitter:  Detlef Riekenberg <wine_dev>
Submitted:  Wed 20 Mar 2024 01:36:35 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 20 Mar 2024 01:36:35 AM UTC, original submission:  

Linking of "libcrypto.so.3" (from OpenSSL) fails,
because "-Wl,-znodelete" is not supported


tcc -fPIC -pthread -m64 -DEMPTY_CFLAGS   -Wl,-znodelete -shared -Wl,-Bsymbolic   -Wl,-soname=libcrypto.so.3 \
-o libcrypto.so.3 -Wl,--version-script=libcrypto.ld \
...
providers/libcrypto-shlib-prov_running.o \
providers/libdefault.a providers/libcommon.a  -ldl -pthread
tcc: error: unsupported linker option '-znodelete'
make[1]: * [Makefile:4253: libcrypto.so.3] Error 1
make[1]: Leaving directory '<my_build_dir>'
make: * [Makefile:1666: build_sw] Fehler 2



From the docs, DF_1_NODELETE should be set in DT_FLAGS_1


Name: DF_1_NODELETE
Value: 8
Description: Object cannot be deleted from a process



Detlef Riekenberg <wine_dev>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wine_dev (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-081f.
    Corresponding source code