Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 212307
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Gentoo's Haskell Language team <haskell@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markus Rothe <corsair@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
config.log config.log text/plain Markus Rothe 2008-03-04 19:23 0000 7.43 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 212307 depends on: Show dependency tree
Bug 212307 blocks: 206643
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-04 19:20 0000
When trying to compile ghc-6.8.2 I ran into the following error:

checking for path to top of build tree... Warning: retaining unknown function
`.L.__stginit_ZCMain' in output from C compiler
Warning: retaining unknown function `.L.__stginit_Main' in output from C
compiler
Warning: retaining unknown function `.L.__stginit_Main_' in output from C
compiler
Warning: retaining unknown function `.L.s1E6_ret' in output from C compiler
Warning: retaining unknown function `.L.s1Dj_entry' in output from C compiler
Warning: retaining unknown function `.L.s1Em_ret' in output from C compiler
Warning: retaining unknown function `.L.s1Dg_entry' in output from C compiler
Warning: retaining unknown function `.L.s1De_entry' in output from C compiler
Warning: retaining unknown function `.L.s1D5_entry' in output from C compiler
Warning: retaining unknown function `.L.s1Ed_1_alt' in output from C compiler
Warning: retaining unknown function `.L.s1Ed_0_alt' in output from C compiler
Warning: retaining unknown function `.L.s1Ei_1_alt' in output from C compiler
Warning: retaining unknown function `.L.s1Ei_0_alt' in output from C compiler
Warning: retaining unknown function `.L.s1Ej_1_alt' in output from C compiler
Warning: retaining unknown function `.L.s1Ej_0_alt' in output from C compiler
Warning: retaining unknown function `.L.s1CZ_entry' in output from C compiler
Warning: retaining unknown function `.L.s1CX_ret' in output from C compiler
Warning: retaining unknown function `.L.s1Ee_1_alt' in output from C compiler
Warning: retaining unknown function `.L.s1Ee_0_alt' in output from C compiler
Warning: retaining unknown function `.L.s1Ef_1_alt' in output from C compiler
Warning: retaining unknown function `.L.s1Ef_0_alt' in output from C compiler
Warning: retaining unknown function `.L.s1CP_entry' in output from C compiler
Warning: retaining unknown function `.L.s1CJ_ret' in output from C compiler
Warning: retaining unknown function `.L.s1CH_dflt' in output from C compiler
Warning: retaining unknown function `.L.s1Cx_entry' in output from C compiler
Warning: retaining unknown function `.L.s1CF_entry' in output from C compiler
Warning: retaining unknown function `.L.s1Ea_ret' in output from C compiler
Warning: retaining unknown function `.L.Main_escapezuforwardslash_entry' in
output from C compiler
Warning: retaining unknown function `.L.s1Ck_ret' in output from C compiler
Warning: retaining unknown function
`.L.Main_escapezuquadruplezubackslash_entry' in output from C compiler
Warning: retaining unknown function `.L.s1Cc_ret' in output from C compiler
Warning: retaining unknown function `.L.ZCMain_main_entry' in output from C
compiler
Warning: retaining unknown function `.L.Main_main_entry' in output from C
compiler
Warning: retaining unknown function `.L.r1C2_entry' in output from C compiler
Warning: retaining unknown function `.L.r1C0_entry' in output from C compiler
pwd.o:(.text+0x0): undefined reference to `__DISCARD__'
pwd.o:(.text+0x28): undefined reference to `__DISCARD__'
pwd.o:(.text+0x50): undefined reference to `__DISCARD__'
pwd.o:(.text+0xd8): undefined reference to `__DISCARD__'
pwd.o:(.text+0x158): undefined reference to `__DISCARD__'
pwd.o:(.text+0x1ec): more undefined references to `__DISCARD__' follow
collect2: ld returned 1 exit status
./configure: line 2655: utils/pwd/pwd: No such file or directory
configure: error: cannot determine current directory


this is similar to bug #145466. unfortunately the workaround we used in 6.4.2
does not work any more.

workaround was:

if use ia64 || use ppc64; then
  echo "GhcUnregisterised=YES" >> mk/build.mk
  echo "GhcWithNativeCodeGen=NO" >> mk/build.mk
  echo "GhcWithInterpreter=NO" >> mk/build.mk
  echo "SplitObjs=NO" >> mk/build.mk
  echo "GhcRTSWays := debug" >> mk/build.mk
fi

------- Comment #1 From Markus Rothe 2008-03-04 19:23:33 0000 -------
Created an attachment (id=145301) [details]
config.log

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug