[Bug 1385477] New:
dynamic linking failing for aarch64 executables with ghc-7.10.3
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1385477
Bug ID: 1385477
Summary: dynamic linking failing for aarch64 executables with
ghc-7.10.3
Product: Fedora
Version: rawhide
Component: ghc
Assignee: petersen(a)redhat.com
Reporter: petersen(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: bos(a)serpentine.com,
haskell-devel(a)lists.fedoraproject.org,
petersen(a)redhat.com
Description of problem:
Dynamic linking of for packages with executables is failing
when using ghc-7.10.3 on aarch64 (and armv7hl).
eg1:
Linking dist/build/darcs/darcs ...
/builddir/build/BUILD/darcs-2.12.2/darcs-2.12.2/dist/build/libHSdarcs-2.12.2-5w02tFeyqS4LTTczMtN7Ff-ghc7.10.3.so:
error: undefined reference to 'log'
/usr/lib64/ghc-7.10.3/text_HmqVQnZSpjaC156ABqPhne/libHStext-1.2.2.1-HmqVQnZSpjaC156ABqPhne-ghc7.10.3.so:
error: undefined reference to 'logf'
collect2: error: ld returned 1 exit status
eg2:
Linking dist/build/xmobar/xmobar ...
/usr/lib64/ghc-7.10.3/scien_3vmCXiZeJinKZBcLawS8i0/libHSscientific-0.3.4.7-3vmCXiZeJinKZBcLawS8i0-ghc7.10.3.so:
error: undefined reference to 'log'
collect2: error: ld returned 1 exit status
eg3:
Linking dist/build/agda/agda ...
/usr/lib64/ghc-7.10.3/Quick_6TxL5Cx3o2p0HsyT59KWiD/libHSQuickCheck-2.8.2-6TxL5Cx3o2p0HsyT59KWiD-ghc7.10.3.so:
error: undefined reference to 'log'
/usr/lib64/ghc-7.10.3/text_HmqVQnZSpjaC156ABqPhne/libHStext-1.2.2.1-HmqVQnZSpjaC156ABqPhne-ghc7.10.3.so:
error: undefined reference to 'logf'
/builddir/build/BUILD/Agda-2.4.2.5/Agda-2.4.2.5/dist/build/libHSAgda-2.4.2.5-Inys1Zrl83YKq4l2eRqqZo-ghc7.10.3.so:
error: undefined reference to 'sqrt'
collect2: error: ld returned 1 exit status
How reproducible:
100%
Steps to Reproduce:
1. build packages with dynlinked executable
Actual results:
fails with "undefined reference to 'log'" etc.
Expected results:
dynlinking to work
Additional info:
This worked earlier though, eg in beginning of August 2016:
http://koji.fedoraproject.org/koji/buildinfo?buildID=787831
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years
[Bug 1385475] New:
dynamic linking failing for armv7hl executables with ghc-7.10.3
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1385475
Bug ID: 1385475
Summary: dynamic linking failing for armv7hl executables with
ghc-7.10.3
Product: Fedora
Version: rawhide
Component: ghc
Assignee: petersen(a)redhat.com
Reporter: petersen(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: bos(a)serpentine.com,
haskell-devel(a)lists.fedoraproject.org,
petersen(a)redhat.com
Description of problem:
Dynamic linking of for packages with executables is failing on armv7hl
when using ghc-7.10.3 on armv7hl (and aarch64).
eg:
Linking dist/build/xmobar/xmobar ...
/usr/lib/ghc-7.10.3/scien_3vmCXiZeJinKZBcLawS8i0/libHSscientific-0.3.4.7-3vmCXiZeJinKZBcLawS8i0-ghc7.10.3.so:
error: undefined reference to 'log'
collect2: error: ld returned 1 exit status
How reproducible:
100%
Steps to Reproduce:
1. build packages with dynlinked executable
Actual results:
fails with "undefined reference to 'log'" etc.
Expected results:
dynlinking to work
Additional info:
This worked earlier though, eg in beginning of August 2016:
http://koji.fedoraproject.org/koji/buildinfo?buildID=787831
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years
[Bug 1381641] New: Missing ghc-nats blocks f24-f25 upgrades
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1381641
Bug ID: 1381641
Summary: Missing ghc-nats blocks f24-f25 upgrades
Product: Fedora
Version: 25
Component: ghc-nats
Assignee: petersen(a)redhat.com
Reporter: cfergeau(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: haskell-devel(a)lists.fedoraproject.org,
petersen(a)redhat.com, relrod(a)redhat.com
I have pandoc installed on my f24 which installed ghc-nats as a dependency.
Trying to upgrade to f25 through system-upgrade leads to
"Erreur : package ghc-nats-0.2-3.fc24.x86_64 requires
libHSarray-0.5.0.0-ghc7.8.4.so()(64bit), but none of the providers can be
installed"
This is expected as ghc-nats has been removed from f25. However, having an
Obsoletes: ghc-nats <= 0.2.3
Conflicts: ghc-nats <= 0.2.3
in ghc (or a more appropriate package) would have made upgrades smoother.
Passing --allowerasing to dnf system-upgrade also lets me move forward with the
upgrade.
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years
[Bug 1372527] New: OpenGLRaw fails to build on armv7hl: "fork:
resource exhausted"
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1372527
Bug ID: 1372527
Summary: OpenGLRaw fails to build on armv7hl: "fork: resource
exhausted"
Product: Fedora
Version: 25
Component: haskell-platform
Assignee: petersen(a)redhat.com
Reporter: petersen(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: bos(a)serpentine.com,
haskell-devel(a)lists.fedoraproject.org,
petersen(a)redhat.com
I am not sure why but building OpenGLRaw (part of haskell-platform) fails
randomly and very frequently on armv7hl.
It build initially with ghc-7.10.3 but maybe this was just luck.
Note the "fork: resource exhausted (Resource temporarily unavailable)"'s
below in the verbose build output:
[531 of 534] Compiling Graphics.Rendering.OpenGL.Raw.AMD.DrawBuffersBlend (
src/Graphics/Rendering/OpenGL/Raw/AMD/DrawBuffersBlend.hs,
dist/build/Graphics/Rendering/OpenGL/Raw/AMD/DrawBuffersBlend.o )
<no location info>:
ghc: phase `LLVM Optimiser' failed (exitcode = 1)
compile: input file
src/Graphics/Rendering/OpenGL/Raw/APPLE/VertexArrayObject.hs
:
:
compile: input file src/Graphics/Rendering/OpenGL/Raw/APPLE/TextureRange.hs
*** Checking old interface for
Graphics.Rendering.OpenGL.Raw.APPLE.TextureRange:
*** Parser:
*** Renamer/typechecker:
*** Desugar:
Result size of Desugar (after optimization)
= {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Specialise:
Result size of Specialise = {terms: 0, types: 0, coercions: 0}
*** Float out(FOS {Lam = Just 0, Consts = True, OverSatApps = False}):
Result size of Float out(FOS {Lam = Just 0,
Consts = True,
OverSatApps = False})
= {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Float inwards:
Result size of Float inwards = {terms: 0, types: 0, coercions: 0}
*** Called arity analysis:
Result size of Called arity analysis
= {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Demand analysis:
Result size of Demand analysis = {terms: 0, types: 0, coercions: 0}
*** Worker Wrapper binds:
Result size of Worker Wrapper binds
= {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Float out(FOS {Lam = Just 0, Consts = True, OverSatApps = True}):
Result size of Float out(FOS {Lam = Just 0,
Consts = True,
OverSatApps = True})
= {terms: 0, types: 0, coercions: 0}
*** Common sub-expression:
Result size of Common sub-expression
= {terms: 0, types: 0, coercions: 0}
*** Float inwards:
Result size of Float inwards = {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Tidy Core:
Result size of Tidy Core = {terms: 0, types: 0, coercions: 0}
writeBinIface: 10 Names
writeBinIface: 49 dict entries
writeBinIface: 10 Names
writeBinIface: 49 dict entries
*** CorePrep:
Result size of CorePrep = {terms: 0, types: 0, coercions: 0}
*** Stg2Stg:
*** CodeGen:
*** LLVM CodeGen:
Error (figuring out LLVM version): /usr/bin/llc-3.5: runInteractiveProcess:
fork: resource exhausted (Resource temporarily unavailable)
<no location info>:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM
Using LLVM version: 30
*** LLVM Optimiser:
/usr/bin/opt-3.5 /tmp/ghc40bc_0/ghc_2824.ll -o /tmp/ghc40bc_0/ghc_2826.bc -O1
'--enable-tbaa=true'
Failed: /usr/bin/opt-3.5 /tmp/ghc40bc_0/ghc_2824.ll -o
/tmp/ghc40bc_0/ghc_2826.bc -O1 '--enable-tbaa=true' /usr/bin/opt-3.5:
runInteractiveProcess: fork: resource exhausted (Resource temporarily
unavailable)
<no location info>:
ghc: phase `LLVM Optimiser' failed (exitcode = 1)
compile: input file src/Graphics/Rendering/OpenGL/Raw/APPLE/ObjectPurgeable.hs
:
compile: input file src/Graphics/Rendering/OpenGL/Raw/APPLE/FlushBufferRange.hs
:
compile: input file src/Graphics/Rendering/OpenGL/Raw/APPLE/ElementArray.hs
*** Checking old interface for
Graphics.Rendering.OpenGL.Raw.APPLE.ElementArray:
*** Parser:
*** Renamer/typechecker:
*** Desugar:
Result size of Desugar (after optimization)
= {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Specialise:
Result size of Specialise = {terms: 0, types: 0, coercions: 0}
*** Float out(FOS {Lam = Just 0, Consts = True, OverSatApps = False}):
Result size of Float out(FOS {Lam = Just 0,
Consts = True,
OverSatApps = False})
= {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Float inwards:
Result size of Float inwards = {terms: 0, types: 0, coercions: 0}
*** Called arity analysis:
Result size of Called arity analysis
= {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Demand analysis:
Result size of Demand analysis = {terms: 0, types: 0, coercions: 0}
*** Worker Wrapper binds:
Result size of Worker Wrapper binds
= {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Float out(FOS {Lam = Just 0, Consts = True, OverSatApps = True}):
Result size of Float out(FOS {Lam = Just 0,
Consts = True,
OverSatApps = True})
= {terms: 0, types: 0, coercions: 0}
*** Common sub-expression:
Result size of Common sub-expression
= {terms: 0, types: 0, coercions: 0}
*** Float inwards:
Result size of Float inwards = {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Tidy Core:
Result size of Tidy Core = {terms: 0, types: 0, coercions: 0}
writeBinIface: 10 Names
writeBinIface: 49 dict entries
writeBinIface: 10 Names
writeBinIface: 49 dict entries
*** CorePrep:
Result size of CorePrep = {terms: 0, types: 0, coercions: 0}
*** Stg2Stg:
*** CodeGen:
*** LLVM CodeGen:
Error (figuring out LLVM version): /usr/bin/llc-3.5: runInteractiveProcess:
fork: resource exhausted (Resource temporarily unavailable)
<no location info>:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM
Using LLVM version: 30
*** LLVM Optimiser:
/usr/bin/opt-3.5 /tmp/ghc40bc_0/ghc_2840.ll -o /tmp/ghc40bc_0/ghc_2842.bc -O1
'--enable-tbaa=true'
Failed: /usr/bin/opt-3.5 /tmp/ghc40bc_0/ghc_2840.ll -o
/tmp/ghc40bc_0/ghc_2842.bc -O1 '--enable-tbaa=true' /usr/bin/opt-3.5:
runInteractiveProcess: fork: resource exhausted (Resource temporarily
unavailable)
<no location info>:
ghc: phase `LLVM Optimiser' failed (exitcode = 1)
compile: input file
src/Graphics/Rendering/OpenGL/Raw/AMD/VertexShaderTessellator.hs
*** Checking old interface for
Graphics.Rendering.OpenGL.Raw.AMD.VertexShaderTessellator:
*** Parser:
*** Renamer/typechecker:
*** Desugar:
Result size of Desugar (after optimization)
= {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Specialise:
Result size of Specialise = {terms: 0, types: 0, coercions: 0}
*** Float out(FOS {Lam = Just 0, Consts = True, OverSatApps = False}):
Result size of Float out(FOS {Lam = Just 0,
Consts = True,
OverSatApps = False})
= {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Float inwards:
Result size of Float inwards = {terms: 0, types: 0, coercions: 0}
*** Called arity analysis:
Result size of Called arity analysis
= {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Demand analysis:
Result size of Demand analysis = {terms: 0, types: 0, coercions: 0}
*** Worker Wrapper binds:
Result size of Worker Wrapper binds
= {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Float out(FOS {Lam = Just 0, Consts = True, OverSatApps = True}):
Result size of Float out(FOS {Lam = Just 0,
Consts = True,
OverSatApps = True})
= {terms: 0, types: 0, coercions: 0}
*** Common sub-expression:
Result size of Common sub-expression
= {terms: 0, types: 0, coercions: 0}
*** Float inwards:
Result size of Float inwards = {terms: 0, types: 0, coercions: 0}
*** Simplifier:
Result size of Simplifier = {terms: 0, types: 0, coercions: 0}
*** Tidy Core:
Result size of Tidy Core = {terms: 0, types: 0, coercions: 0}
writeBinIface: 11 Names
writeBinIface: 50 dict entries
writeBinIface: 11 Names
writeBinIface: 50 dict entries
*** CorePrep:
Result size of CorePrep = {terms: 0, types: 0, coercions: 0}
*** Stg2Stg:
*** CodeGen:
*** LLVM CodeGen:
Using LLVM version: 35
*** LLVM Optimiser:
/usr/bin/opt-3.5 /tmp/ghc40bc_0/ghc_2502.ll -o /tmp/ghc40bc_0/ghc_2505.bc -O1
-globalopt '--enable-tbaa=true'
*** LLVM Compiler:
/usr/bin/llc-3.5 -O2 '-relocation-model=static' /tmp/ghc40bc_0/ghc_2505.bc -o
/tmp/ghc40bc_0/ghc_2511.lm_s '--enable-tbaa=true' '-mattr=+v7,+vfp3,+d16'
'-float-abi=hard'
*** LLVM Mangler:
*** Assembler:
/usr/bin/gcc -marm -fno-stack-protector -DTABLES_NEXT_TO_CODE
-Isrc/Graphics/Rendering/OpenGL/Raw/AMD -Idist/build -Idist/build
-Idist/build/autogen -Idist/build -x assembler -c /tmp/ghc40bc_0/ghc_2515.s -o
dist/build/Graphics/Rendering/OpenGL/Raw/AMD/VertexShaderTessellator.o
*** CorePrep:
Result size of CorePrep = {terms: 0, types: 0, coercions: 0}
*** Stg2Stg:
*** CodeGen:
*** LLVM CodeGen:
Using LLVM version: 35
*** LLVM Optimiser:
/usr/bin/opt-3.5 /tmp/ghc40bc_0/ghc_2518.ll -o /tmp/ghc40bc_0/ghc_2524.bc -O1
-globalopt '--enable-tbaa=true'
*** LLVM Compiler:
/usr/bin/llc-3.5 -O2 '-relocation-model=pic' /tmp/ghc40bc_0/ghc_2524.bc -o
/tmp/ghc40bc_0/ghc_2527.lm_s '--enable-tbaa=true' '-mattr=+v7,+vfp3,+d16'
'-float-abi=hard'
*** LLVM Mangler:
*** Assembler:
/usr/bin/gcc -marm -fno-stack-protector -DTABLES_NEXT_TO_CODE
-Isrc/Graphics/Rendering/OpenGL/Raw/AMD -Idist/build -Idist/build
-Idist/build/autogen -Idist/build -fPIC -U__PIC__ -D__PIC__ -x assembler -c
/tmp/ghc40bc_0/ghc_2532.s -o
dist/build/Graphics/Rendering/OpenGL/Raw/AMD/VertexShaderTessellator.dyn_o
*** Deleting temp files:
Deleting: /tmp/ghc40bc_0/ghc_2532.s /tmp/ghc40bc_0/ghc_2527.lm_s
/tmp/ghc40bc_0/ghc_2524.bc /tmp/ghc40bc_0/ghc_2520.c /tmp/ghc40bc_0/ghc_2518.ll
/tmp/ghc40bc_0/ghc_2515.s /tmp/ghc40bc_0/ghc_2511.lm_s
/tmp/ghc40bc_0/ghc_2505.bc /tmp/ghc40bc_0/ghc_2503.c /tmp/ghc40bc_0/ghc_2502.ll
/tmp/ghc40bc_0/ghc_2492.ll
Warning: deleting non-existent /tmp/ghc40bc_0/ghc_2520.c
Warning: deleting non-existent /tmp/ghc40bc_0/ghc_2503.c
Warning: deleting non-existent /tmp/ghc40bc_0/ghc_2492.ll
compile: input file
src/Graphics/Rendering/OpenGL/Raw/AMD/StencilOperationExtended.hs
:
:
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years, 1 month