Your message dated Fri, 18 Jul 2014 22:05:42 +0000
with message-id <[email protected]>
and subject line Bug#751479: fixed in ghc 7.8.20140710-4
has caused the Debian Bug report #751479,
regarding ghc 7.8.2 FTBFS for mips/mipsel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
751479: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751479
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ghc
Version: 7.8.20140411-5
Tags: experimental patch
Severity: important
Justification: FTBFS
User: [email protected]
Usertags: mips-patch


While trying to build ghc 7.8.2 on mips/mipsel architecture,
build fails on testing with an error:

> "inplace/bin/ghc-stage1" -package-name rts -shared -dynamic -dynload deploy 
> -no-auto-link-packages  `cat rts/dist/libs.depend` 
> rts/dist/build/Globals.dyn_o rts/dist/build/RtsUtils.dyn_o 
> rts/dist/build/Weak.dyn_o rts/dist/build/Sparks.dyn_o 
> rts/dist/build/Interpreter.dyn_o rts/dist/build/Arena.dyn_o 
> rts/dist/build/Trace.dyn_o rts/dist/build/Hash.dyn_o 
> rts/dist/build/RaiseAsync.dyn_o rts/dist/build/Proftimer.dyn_o 
> rts/dist/build/RtsFlags.dyn_o rts/dist/build/RtsMessages.dyn_o 
> rts/dist/build/RetainerSet.dyn_o rts/dist/build/Task.dyn_o 
> rts/dist/build/RtsDllMain.dyn_o rts/dist/build/StgPrimFloat.dyn_o 
> rts/dist/build/Papi.dyn_o rts/dist/build/HsFFI.dyn_o 
> rts/dist/build/Stats.dyn_o rts/dist/build/StgCRun.dyn_o 
> rts/dist/build/OldARMAtomic.dyn_o rts/dist/build/FileLock.dyn_o 
> rts/dist/build/Disassembler.dyn_o rts/dist/build/WSDeque.dyn_o 
> rts/dist/build/ProfHeap.dyn_o rts/dist/build/Stable.dyn_o 
> rts/dist/build/RtsMain.dyn_o rts/dist/build/Schedule.dyn_o 
> rts/dist/build/RtsAPI.dyn_o rts/dist/build/RtsStartup.dyn_o 
> rts/dist/build/Capability.dyn_o rts/dist/build/Threads.dyn_o 
> rts/dist/build/Hpc.dyn_o rts/dist/build/ThreadLabels.dyn_o 
> rts/dist/build/Messages.dyn_o rts/dist/build/Inlines.dyn_o 
> rts/dist/build/LdvProfile.dyn_o rts/dist/build/Ticky.dyn_o 
> rts/dist/build/Adjustor.dyn_o rts/dist/build/Linker.dyn_o 
> rts/dist/build/RetainerProfile.dyn_o rts/dist/build/ClosureFlags.dyn_o 
> rts/dist/build/CheckUnload.dyn_o rts/dist/build/Profiling.dyn_o 
> rts/dist/build/Timer.dyn_o rts/dist/build/ThreadPaused.dyn_o 
> rts/dist/build/Printer.dyn_o rts/dist/build/STM.dyn_o 
> rts/dist/build/hooks/OutOfHeap.dyn_o rts/dist/build/hooks/MallocFail.dyn_o 
> rts/dist/build/hooks/FlagDefaults.dyn_o rts/dist/build/hooks/OnExit.dyn_o 
> rts/dist/build/hooks/StackOverflow.dyn_o rts/dist/build/sm/MBlock.dyn_o 
> rts/dist/build/sm/Scav.dyn_o rts/dist/build/sm/Compact.dyn_o 
> rts/dist/build/sm/Sweep.dyn_o rts/dist/build/sm/GCAux.dyn_o 
> rts/dist/build/sm/GCUtils.dyn_o rts/dist/build/sm/BlockAlloc.dyn_o 
> rts/dist/build/sm/MarkWeak.dyn_o rts/dist/build/sm/GC.dyn_o 
> rts/dist/build/sm/Sanity.dyn_o rts/dist/build/sm/Evac.dyn_o 
> rts/dist/build/sm/Storage.dyn_o rts/dist/build/eventlog/EventLog.dyn_o 
> rts/dist/build/posix/OSMem.dyn_o rts/dist/build/posix/GetTime.dyn_o 
> rts/dist/build/posix/OSThreads.dyn_o rts/dist/build/posix/Itimer.dyn_o 
> rts/dist/build/posix/TTY.dyn_o rts/dist/build/posix/Signals.dyn_o 
> rts/dist/build/posix/Select.dyn_o rts/dist/build/posix/GetEnv.dyn_o   
> rts/dist/build/PrimOps.dyn_o rts/dist/build/StgStartup.dyn_o 
> rts/dist/build/Exception.dyn_o rts/dist/build/StgStdThunks.dyn_o 
> rts/dist/build/Apply.dyn_o rts/dist/build/HeapStackCheck.dyn_o 
> rts/dist/build/Updates.dyn_o rts/dist/build/StgMiscClosures.dyn_o 
> rts/dist/build/AutoApply.dyn_o  -o rts/dist/build/libHSrts-ghc7.8.2.so
> /usr/bin/ld: rts/dist/build/Globals.dyn_o: relocation R_MIPS_HI16 against 
> `__gnu_local_gp' can not be used when making a shared object; recompile with 
> -> fPIC
> rts/dist/build/Globals.dyn_o: error adding symbols: Bad value
> collect2: error: ld returned 1 exit status
> make[2]: *** [rts/dist/build/libHSrts-ghc7.8.2.so] Error 1


A patch that adds mips and mipsel into NoSharedLibsPlatformList 
is attached.

After applying this patch,
I was able to successfully build ghc 7.8.2 for mips nad mipsel.


Could you please consider including this patch?

Best regards,
Dejan

--- End Message ---
--- Begin Message ---
Source: ghc
Source-Version: 7.8.20140710-4

We believe that the bug you reported is fixed in the latest version of
ghc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joachim Breitner <[email protected]> (supplier of updated ghc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 18 Jul 2014 22:47:43 +0200
Source: ghc
Binary: ghc ghc-prof ghc-doc ghc-haddock
Architecture: source all amd64
Version: 7.8.20140710-4
Distribution: experimental
Urgency: medium
Maintainer: Debian Haskell Group 
<[email protected]>
Changed-By: Joachim Breitner <[email protected]>
Description:
 ghc        - The Glasgow Haskell Compilation system
 ghc-doc    - Documentation for the Glasgow Haskell Compilation system
 ghc-haddock - Documentation tool for annotated Haskell source code
 ghc-prof   - Profiling libraries for the Glasgow Haskell Compilation system
Closes: 751479
Changes:
 ghc (7.8.20140710-4) experimental; urgency=medium
 .
    * Add support for mips and mipsel.
      Add mips-support.patch.
      Patch by Dejan Latinovic <[email protected]>.
      Closes:  #751479.
Checksums-Sha1:
 b9760da1c8f11e57956f2bc4882c9994256384fc 2373 ghc_7.8.20140710-4.dsc
 179fc70b221fb9e3ab2122054e7f580876362e5a 43852 ghc_7.8.20140710-4.debian.tar.xz
 fbbe6b306e38182e4812ac98cc1ad49c7242605f 8328994 ghc-doc_7.8.20140710-4_all.deb
 13207a2936ec4cc710ee5d265273a5afd56ca252 35692208 ghc_7.8.20140710-4_amd64.deb
 3c350ececfde29fc1013131c32a28e45dec4ae90 28876840 
ghc-prof_7.8.20140710-4_amd64.deb
 07373258ce61b7c19c63599d535e4e5de7814045 5882858 
ghc-haddock_7.8.20140710-4_amd64.deb
Checksums-Sha256:
 8d826a1ea7409b2f9b3414fda4c933a3fb90e40fb66e1752add8dab7f045c3a4 2373 
ghc_7.8.20140710-4.dsc
 a6fdd2e4b7d9b3caceeacb0050a9b8e106fccd9f83adfbc8056bf18859c28a3e 43852 
ghc_7.8.20140710-4.debian.tar.xz
 91f72b9d3e30734363cd21579e56bf06c7a7c09b216ceae3017d35e4b437f502 8328994 
ghc-doc_7.8.20140710-4_all.deb
 50f20ccde9c437f7dc270cfc9c7b8a2c291739d0a50df05eb8a44090b3f520ee 35692208 
ghc_7.8.20140710-4_amd64.deb
 9a15f13daf9e53d4364651f952103e733b54a7d0990a7fc8c08ce1b60eab1a61 28876840 
ghc-prof_7.8.20140710-4_amd64.deb
 12974082ca8baccf6383c0fa0cd1d6df5e1faa6413ede35c0ad4fb9607680df5 5882858 
ghc-haddock_7.8.20140710-4_amd64.deb
Files:
 e5be05c701f333def22ddb1630dfd1e2 8328994 doc extra 
ghc-doc_7.8.20140710-4_all.deb
 4526f68693318f09e88be067fe3b6083 35692208 haskell extra 
ghc_7.8.20140710-4_amd64.deb
 0f47b14534560169423c4274fe6b9b5c 28876840 haskell extra 
ghc-prof_7.8.20140710-4_amd64.deb
 b25e1e8c808b04840c1f519a06bdccb7 5882858 haskell extra 
ghc-haddock_7.8.20140710-4_amd64.deb
 aa65332ab0e5d567f1b139365728e6b7 2373 haskell extra ghc_7.8.20140710-4.dsc
 04d4102d9f637956760df775e9d369df 43852 haskell extra 
ghc_7.8.20140710-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJTyZEpAAoJED2QirPw+/Ufeo4P/09Mf4IuYGegfwLj4GCXkBem
OzhjOGz0i/BZSMsnv0Da7q12fKquCZncNTWaumnHtpUo6ivCsMz3Gg/3SpOB8Ab8
HFtgvJF4RKQHPAmRSqEWn7BWmkkvpZsSTqjizRtKySvaFCTiSJj4/G/qOX3sMuR7
U355s8lai5jfWyWl+bFXZd+Py7p0aWTtNMMrq3MMUa+w6jTnyzqP7yI8zNVvbleQ
PZoS5zmFWvrVwoNrYDsTn0B0fQQeIuV8qL5VJ8oW90FFrmW7bcrVhqCxzXRbeC0+
SrYT5+ztxLxJVRssMlldHt9lBkDMAaAB8PRbNPJ9+as5wkKq0DI0Ajc4WUeHZz11
ZdyzCZZkWh3Vw2DZAzzZ3RdOVYBzBCDx/PVzHRmccjdGsWSqRw1zc3vfktEu61lp
YBUPlh59ovqz8uMEgIX8ocYvN1c52qVq/Bz6f7tP4JCS90tE0/rTX+RiNB234/HM
X+B0AAnXLOslTnth0R5Ixser2Gbv5iYR2MT6NHaBMClrcNuUYpCr0JMuQ5b7PWTF
bfjaGShwn5u2O4sjeTMILK4mRuTLEyQLfA1kFSY02XbxOumo2yDoPtW2JahBTcfv
nR1WNofAAAAZ8XmPxZM45XPZca/M9iKTuvQL7gZU5nTM513wed24F+sfk2yDtRHF
ppQmBuzzxKXjTLX+209d
=lvfg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to