View Single Post
Old 23 December 2017, 00:19   #20
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
gcc6 supports/creates now amiga hunk format.
Quote:
Originally Posted by bebbo View Post
Yes.[*]The aout specific constructors via .stab/.stabstr are supported in amiga-hunk-format: the content is passed in debug sections and processed by the linker.[/LIST]
I'm building a LW plugin, which atm refuses to link, so i tried vlink (0.16a):
Code:
vlink  *.o -o plugin.p -Llib/ lib/server.lib 
Fatal error 17: 3D.o: Misplaced HUNK_DEBUG in 3D.o.
I can see the 03F1 within .stab/.stabstr sections. so this might be an unspported feature?!
Code:
00001a80  65 33 34 61 72 65 61 45  76 00 00 00 00 00 13 a4  |e34areaEv.......|
00001a90  00 00 00 00 00 00 03 f2  00 00 03 e8 00 00 00 02  |................|
00001aa0  2e 64 61 74 61 00 00 00  00 00 03 ea 00 00 00 06  |.data...........|
00001ab0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00001ac0  00 00 00 00 00 00 00 00  00 00 03 f2 00 00 03 e8  |................|
00001ad0  00 00 00 01 2e 62 73 73  00 00 03 eb 00 00 00 01  |.....bss........|
00001ae0  00 00 03 f2 00 00 03 e8  00 00 00 02 2e 73 74 61  |.............sta|
00001af0  62 00 00 00 00 00 03 f1  00 00 00 0c 00 00 00 01  |b...............|
00001b00  16 00 00 00 00 00 14 d4  00 00 00 10 16 00 00 00  |................|
00001b10  00 00 14 f0 00 00 00 1f  18 00 00 00 00 00 00 00  |................|
00001b20  00 00 00 34 16 00 00 00  00 00 15 08 00 00 03 ec  |...4............|
00001b30  00 00 00 03 00 00 00 00  00 00 00 08 00 00 00 14  |................|
00001b40  00 00 00 2c 00 00 00 01  00 00 00 01 00 00 00 20  |...,........... |
00001b50  00 00 00 00 00 00 03 f2  00 00 03 e8 00 00 00 02  |................|
00001b60  2e 73 74 61 62 73 74 72  00 00 03 f1 00 00 00 12  |.stabstr........|
00001b70  00 5f 5f 5f 43 54 4f 52  5f 4c 49 53 54 5f 5f 00  |.___CTOR_LIST__.|
00001b80  5f 5f 5f 44 54 4f 52 5f  4c 49 53 54 5f 5f 00 5f  |___DTOR_LIST__._|
00001b90  5f 45 48 5f 46 52 41 4d  45 5f 4f 42 4a 45 43 54  |_EH_FRAME_OBJECT|
00001ba0  53 5f 5f 00 5f 5f 45 48  5f 46 52 41 4d 45 5f 42  |S__.__EH_FRAME_B|
00001bb0  45 47 49 4e 53 5f 5f 00  00 00 03 f2              |EGINS__.....|
00001bbc
hunktool gives me some similiar error, but I have no idea who's the author:
Code:
 hunktool  info 3D.o
3D.o (0.0000s) BUILD SEGMENTS FAILED: Expected main hunk in unit: HUNK_DEBUG 1009/3f1
maybe I'm doing soemthing wrong or it's a missing feature, just reporting.
emufan is offline  
 
Page generated in 0.04385 seconds with 11 queries