Advertisement
Guest User

DMD Compile Fail on Hardened Gentoo

a guest
Jan 20th, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.82 KB | None | 0 0
  1. chad@Hugin /mnt/bulk/dprojects/helloD2 $ dmd main.d -v -L--verbose
  2. binary dmd
  3. version v2.057
  4. config /usr/local/share/dcompilers/dmd/linux/bin64/dmd.conf
  5. parse main
  6. importall main
  7. import object (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/object.di)
  8. import std.stdio (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/stdio.d)
  9. import core.stdc.stdio (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/stdio.di)
  10. import core.stdc.config (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/config.di)
  11. import core.stdc.stddef (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/stddef.di)
  12. import core.stdc.stdarg (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/stdarg.di)
  13. import std.c.stdio (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/c/stdio.d)
  14. import std.stdiobase (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/stdiobase.d)
  15. import core.stdc.errno (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/errno.di)
  16. import core.stdc.stdlib (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/stdlib.di)
  17. import core.memory (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/memory.di)
  18. import core.stdc.string (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/string.di)
  19. import core.stdc.wchar_ (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/wchar_.di)
  20. import core.stdc.time (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/time.di)
  21. import core.stdc.stdint (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/stdint.di)
  22. import core.stdc.signal (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/signal.di)
  23. import std.algorithm (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/algorithm.d)
  24. import std.c.string (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/c/string.d)
  25. import std.array (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/array.d)
  26. import core.bitop (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/bitop.di)
  27. import std.ascii (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/ascii.d)
  28. import std.conv (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/conv.d)
  29. import core.stdc.math (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/math.di)
  30. import std.exception (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/exception.d)
  31. import std.range (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/range.d)
  32. import std.functional (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/functional.d)
  33. import std.metastrings (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/metastrings.d)
  34. import std.traits (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/traits.d)
  35. import std.typetuple (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/typetuple.d)
  36. import std.typecons (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/typecons.d)
  37. import std.format (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/format.d)
  38. import core.vararg (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/vararg.di)
  39. import std.bitmanip (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/bitmanip.d)
  40. import std.math (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/math.d)
  41. import std.string (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/string.d)
  42. import core.exception (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/exception.di)
  43. import std.regex (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/regex.d)
  44. import std.internal.uni (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/internal/uni.d)
  45. import std.uni (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/uni.d)
  46. import std.internal.uni_tab (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/internal/uni_tab.d)
  47. import std.utf (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/utf.d)
  48. import std.system (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/system.d)
  49. import std.container (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/container.d)
  50. import std.file (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/file.d)
  51. import std.datetime (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/datetime.d)
  52. import core.time (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/time.di)
  53. import core.sys.posix.time (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/time.di)
  54. import core.sys.posix.config (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/config.di)
  55. import core.sys.posix.sys.types (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/sys/types.di)
  56. import core.sys.posix.signal (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/signal.di)
  57. import core.sys.posix.sys.time (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/sys/time.di)
  58. import core.sys.posix.sys.select (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/sys/select.di)
  59. import std.path (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/path.d)
  60. import core.sys.posix.pwd (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/pwd.di)
  61. import core.sys.posix.stdlib (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/stdlib.di)
  62. import core.sys.posix.sys.wait (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/sys/wait.di)
  63. import std.process (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/process.d)
  64. import std.c.stdlib (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/c/stdlib.d)
  65. import core.thread (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/thread.di)
  66. import core.sync.mutex (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sync/mutex.di)
  67. import core.sync.exception (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sync/exception.di)
  68. import core.sys.posix.pthread (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/pthread.di)
  69. import core.sys.posix.sched (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/sched.di)
  70. import core.sys.posix.semaphore (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/semaphore.di)
  71. import core.sys.posix.unistd (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/unistd.di)
  72. import core.sys.posix.inttypes (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/inttypes.di)
  73. import core.stdc.inttypes (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/stdc/inttypes.di)
  74. import core.sys.posix.sys.mman (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/sys/mman.di)
  75. import std.c.process (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/c/process.d)
  76. import std.c.stddef (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/c/stddef.d)
  77. import std.internal.processinit (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/internal/processinit.d)
  78. import core.sys.posix.arpa.inet (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/arpa/inet.di)
  79. import core.sys.posix.sys.socket (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/sys/socket.di)
  80. import core.sys.posix.sys.uio (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/sys/uio.di)
  81. import core.sys.posix.dirent (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/dirent.di)
  82. import core.sys.posix.fcntl (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/fcntl.di)
  83. import core.sys.posix.sys.stat (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/sys/stat.di)
  84. import core.sys.posix.utime (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/utime.di)
  85. import core.sys.posix.stdio (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/stdio.di)
  86. import std.c.linux.linux (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/c/linux/linux.d)
  87. import std.c.linux.pthread (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/c/linux/pthread.d)
  88. import core.sys.posix.dlfcn (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/dlfcn.di)
  89. import std.c.linux.socket (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/phobos/std/c/linux/socket.d)
  90. import core.sys.posix.netdb (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/netdb.di)
  91. import core.sys.posix.netinet.in_ (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/netinet/in_.di)
  92. import core.sys.posix.netinet.tcp (/usr/local/share/dcompilers/dmd/linux/bin64/../../src/druntime/import/core/sys/posix/netinet/tcp.di)
  93. semantic main
  94. semantic2 main
  95. semantic3 main
  96. code main
  97. function main
  98. function writefln
  99. function writefln
  100. function formattedWrite
  101. function __dgliteral1465
  102. function flDash
  103. function flDash
  104. function flZero
  105. function flZero
  106. function flSpace
  107. function flSpace
  108. function flPlus
  109. function flPlus
  110. function flHash
  111. function flHash
  112. function this
  113. function fillUp
  114. function check
  115. function __dgliteral1299
  116. function __dgliteral1304
  117. function __dgliteral1305
  118. function __dgliteral1322
  119. function __dgliteral1328
  120. function __dgliteral1329
  121. function getCurFmtStr
  122. function headUpToNextSpec
  123. function toString
  124. function text
  125. function textImpl
  126. function to
  127. function front
  128. function decode
  129. function toImpl
  130. function to
  131. function empty
  132. function popFront
  133. function front
  134. function decode
  135. function toImpl
  136. function enforce
  137. function to
  138. function toImpl
  139. function parse
  140. function convError
  141. function text
  142. function textImpl
  143. function enforce
  144. function parse
  145. function convError
  146. function enforce
  147. function result
  148. function startsWith
  149. function to
  150. function toImpl
  151. function parse
  152. function convError
  153. function to
  154. function toImpl
  155. function __dgliteral1327
  156. function enforce
  157. function appender
  158. function this
  159. function reserve
  160. function capacity
  161. function data
  162. function ensureAddable
  163. function newCapacity
  164. function put
  165. function put
  166. function formatValue
  167. function put
  168. function put
  169. function formatIntegral
  170. function formatUnsigned
  171. function put
  172. function empty
  173. function popFront
  174. function front
  175. function decode
  176. function put
  177. function put
  178. function formatValue
  179. function formatIntegral
  180. function appender
  181. function this
  182. function reserve
  183. function capacity
  184. function data
  185. function ensureAddable
  186. function newCapacity
  187. function put
  188. function put
  189. function put
  190. function text
  191. function textImpl
  192. function to
  193. function toImpl
  194. function toStr
  195. function formatValue
  196. function to
  197. function toImpl
  198. function toStr
  199. function formatValue
  200. function to
  201. function toImpl
  202. function toStr
  203. function formatValue
  204. function formatValue
  205. function to
  206. function toImpl
  207. function toStr
  208. function formatValue
  209. function to
  210. function toImpl
  211. function toStr
  212. function formatValue
  213. function put
  214. function empty
  215. function popFront
  216. function put
  217. function writeUpToNextSpec
  218. function put
  219. function put
  220. function __dgliteral1460
  221. function __foreachbody1461
  222. function errnoEnforce
  223. function put
  224. function getNthInt
  225. function to
  226. function toImpl
  227. function put
  228. function capacity
  229. function capacity
  230. gcc main.o -o main -m64 -Xlinker --verbose -Xlinker -L/usr/local/share/dcompilers/dmd/linux/bin64/../lib64 -Xlinker -L/usr/local/share/dcompilers/dmd/linux/bin64/../lib32 -Xlinker --no-warn-search-mismatch -Xlinker --export-dynamic -lphobos2 -lpthread -lm -lrt
  231. GNU ld (GNU Binutils) 2.21.1
  232. Supported emulations:
  233. elf_x86_64
  234. elf_i386
  235. i386linux
  236. elf_l1om
  237. using internal linker script:
  238. ==================================================
  239. /* Script for -pie -z combreloc -z now -z relro: position independent executable, combine & sort relocs */
  240. OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64",
  241. "elf64-x86-64")
  242. OUTPUT_ARCH(i386:x86-64)
  243. ENTRY(_start)
  244. SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64"); SEARCH_DIR("/usr/lib64/binutils/x86_64-pc-linux-gnu/2.21.164"); SEARCH_DIR("/usr/local/lib64"); SEARCH_DIR("/lib64"); SEARCH_DIR("/usr/lib64"); SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib"); SEARCH_DIR("/usr/lib64/binutils/x86_64-pc-linux-gnu/2.21.1"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
  245. SECTIONS
  246. {
  247. /* Read-only sections, merged into text segment: */
  248. . = SEGMENT_START("text-segment", 0) + SIZEOF_HEADERS;
  249. .interp : { *(.interp) }
  250. .note.gnu.build-id : { *(.note.gnu.build-id) }
  251. .hash : { *(.hash) }
  252. .gnu.hash : { *(.gnu.hash) }
  253. .dynsym : { *(.dynsym) }
  254. .dynstr : { *(.dynstr) }
  255. .gnu.version : { *(.gnu.version) }
  256. .gnu.version_d : { *(.gnu.version_d) }
  257. .gnu.version_r : { *(.gnu.version_r) }
  258. .rela.dyn :
  259. {
  260. *(.rela.init)
  261. *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
  262. *(.rela.fini)
  263. *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
  264. *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
  265. *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)
  266. *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)
  267. *(.rela.ctors)
  268. *(.rela.dtors)
  269. *(.rela.got)
  270. *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
  271. *(.rela.ldata .rela.ldata.* .rela.gnu.linkonce.l.*)
  272. *(.rela.lbss .rela.lbss.* .rela.gnu.linkonce.lb.*)
  273. *(.rela.lrodata .rela.lrodata.* .rela.gnu.linkonce.lr.*)
  274. *(.rela.ifunc)
  275. }
  276. .rela.plt :
  277. {
  278. *(.rela.plt)
  279. PROVIDE_HIDDEN (__rela_iplt_start = .);
  280. *(.rela.iplt)
  281. PROVIDE_HIDDEN (__rela_iplt_end = .);
  282. }
  283. .init :
  284. {
  285. KEEP (*(.init))
  286. } =0x90909090
  287. .plt : { *(.plt) *(.iplt) }
  288. .text :
  289. {
  290. *(.text.unlikely .text.*_unlikely)
  291. *(.text.exit .text.exit.*)
  292. *(.text.startup .text.startup.*)
  293. *(.text.hot .text.hot.*)
  294. *(.text .stub .text.* .gnu.linkonce.t.*)
  295. /* .gnu.warning sections are handled specially by elf32.em. */
  296. *(.gnu.warning)
  297. } =0x90909090
  298. .fini :
  299. {
  300. KEEP (*(.fini))
  301. } =0x90909090
  302. PROVIDE (__etext = .);
  303. PROVIDE (_etext = .);
  304. PROVIDE (etext = .);
  305. .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
  306. .rodata1 : { *(.rodata1) }
  307. .eh_frame_hdr : { *(.eh_frame_hdr) }
  308. .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) }
  309. .gcc_except_table : ONLY_IF_RO { *(.gcc_except_table .gcc_except_table.*) }
  310. /* Adjust the address for the data segment. We want to adjust up to
  311. the same address within the page on the next page up. */
  312. . = ALIGN (CONSTANT (MAXPAGESIZE)) - ((CONSTANT (MAXPAGESIZE) - .) & (CONSTANT (MAXPAGESIZE) - 1)); . = DATA_SEGMENT_ALIGN (CONSTANT (MAXPAGESIZE), CONSTANT (COMMONPAGESIZE));
  313. /* Exception handling */
  314. .eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) }
  315. .gcc_except_table : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
  316. /* Thread Local Storage sections */
  317. .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
  318. .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
  319. .preinit_array :
  320. {
  321. PROVIDE_HIDDEN (__preinit_array_start = .);
  322. KEEP (*(.preinit_array))
  323. PROVIDE_HIDDEN (__preinit_array_end = .);
  324. }
  325. .init_array :
  326. {
  327. PROVIDE_HIDDEN (__init_array_start = .);
  328. KEEP (*(SORT(.init_array.*)))
  329. KEEP (*(.init_array))
  330. PROVIDE_HIDDEN (__init_array_end = .);
  331. }
  332. .fini_array :
  333. {
  334. PROVIDE_HIDDEN (__fini_array_start = .);
  335. KEEP (*(SORT(.fini_array.*)))
  336. KEEP (*(.fini_array))
  337. PROVIDE_HIDDEN (__fini_array_end = .);
  338. }
  339. .ctors :
  340. {
  341. /* gcc uses crtbegin.o to find the start of
  342. the constructors, so we make sure it is
  343. first. Because this is a wildcard, it
  344. doesn't matter if the user does not
  345. actually link against crtbegin.o; the
  346. linker won't look for a file to match a
  347. wildcard. The wildcard also means that it
  348. doesn't matter which directory crtbegin.o
  349. is in. */
  350. KEEP (*crtbegin.o(.ctors))
  351. KEEP (*crtbegin?.o(.ctors))
  352. /* We don't want to include the .ctor section from
  353. the crtend.o file until after the sorted ctors.
  354. The .ctor section from the crtend file contains the
  355. end of ctors marker and it must be last */
  356. KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .ctors))
  357. KEEP (*(SORT(.ctors.*)))
  358. KEEP (*(.ctors))
  359. }
  360. .dtors :
  361. {
  362. KEEP (*crtbegin.o(.dtors))
  363. KEEP (*crtbegin?.o(.dtors))
  364. KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .dtors))
  365. KEEP (*(SORT(.dtors.*)))
  366. KEEP (*(.dtors))
  367. }
  368. .jcr : { KEEP (*(.jcr)) }
  369. .data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*) }
  370. .dynamic : { *(.dynamic) }
  371. .got : { *(.got.plt) *(.igot.plt) *(.got) *(.igot) }
  372. . = DATA_SEGMENT_RELRO_END (0, .);
  373. .data :
  374. {
  375. *(.data .data.* .gnu.linkonce.d.*)
  376. SORT(CONSTRUCTORS)
  377. }
  378. .data1 : { *(.data1) }
  379. _edata = .; PROVIDE (edata = .);
  380. __bss_start = .;
  381. .bss :
  382. {
  383. *(.dynbss)
  384. *(.bss .bss.* .gnu.linkonce.b.*)
  385. *(COMMON)
  386. /* Align here to ensure that the .bss section occupies space up to
  387. _end. Align after .bss to ensure correct alignment even if the
  388. .bss section disappears because there are no input sections.
  389. FIXME: Why do we need it? When there is no .bss section, we don't
  390. pad the .data section. */
  391. . = ALIGN(. != 0 ? 64 / 8 : 1);
  392. }
  393. .lbss :
  394. {
  395. *(.dynlbss)
  396. *(.lbss .lbss.* .gnu.linkonce.lb.*)
  397. *(LARGE_COMMON)
  398. }
  399. . = ALIGN(64 / 8);
  400. .lrodata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
  401. {
  402. *(.lrodata .lrodata.* .gnu.linkonce.lr.*)
  403. }
  404. .ldata ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1)) :
  405. {
  406. *(.ldata .ldata.* .gnu.linkonce.l.*)
  407. . = ALIGN(. != 0 ? 64 / 8 : 1);
  408. }
  409. . = ALIGN(64 / 8);
  410. _end = .; PROVIDE (end = .);
  411. . = DATA_SEGMENT_END (.);
  412. /* Stabs debugging sections. */
  413. .stab 0 : { *(.stab) }
  414. .stabstr 0 : { *(.stabstr) }
  415. .stab.excl 0 : { *(.stab.excl) }
  416. .stab.exclstr 0 : { *(.stab.exclstr) }
  417. .stab.index 0 : { *(.stab.index) }
  418. .stab.indexstr 0 : { *(.stab.indexstr) }
  419. .comment 0 : { *(.comment) }
  420. /* DWARF debug sections.
  421. Symbols in the DWARF debugging sections are relative to the beginning
  422. of the section so we begin them at 0. */
  423. /* DWARF 1 */
  424. .debug 0 : { *(.debug) }
  425. .line 0 : { *(.line) }
  426. /* GNU DWARF 1 extensions */
  427. .debug_srcinfo 0 : { *(.debug_srcinfo) }
  428. .debug_sfnames 0 : { *(.debug_sfnames) }
  429. /* DWARF 1.1 and DWARF 2 */
  430. .debug_aranges 0 : { *(.debug_aranges) }
  431. .debug_pubnames 0 : { *(.debug_pubnames) }
  432. /* DWARF 2 */
  433. .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
  434. .debug_abbrev 0 : { *(.debug_abbrev) }
  435. .debug_line 0 : { *(.debug_line) }
  436. .debug_frame 0 : { *(.debug_frame) }
  437. .debug_str 0 : { *(.debug_str) }
  438. .debug_loc 0 : { *(.debug_loc) }
  439. .debug_macinfo 0 : { *(.debug_macinfo) }
  440. /* SGI/MIPS DWARF 2 extensions */
  441. .debug_weaknames 0 : { *(.debug_weaknames) }
  442. .debug_funcnames 0 : { *(.debug_funcnames) }
  443. .debug_typenames 0 : { *(.debug_typenames) }
  444. .debug_varnames 0 : { *(.debug_varnames) }
  445. /* DWARF 3 */
  446. .debug_pubtypes 0 : { *(.debug_pubtypes) }
  447. .debug_ranges 0 : { *(.debug_ranges) }
  448. .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
  449. /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
  450. }
  451.  
  452.  
  453. ==================================================
  454. attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/Scrt1.o succeeded
  455. /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/Scrt1.o
  456. attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o succeeded
  457. /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o
  458. attempt to open /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o succeeded
  459. /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o
  460. attempt to open main.o succeeded
  461. main.o
  462. /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: main.o: relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
  463. main.o: could not read symbols: Bad value
  464. collect2: ld returned 1 exit status
  465. --- errorlevel 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement