Ticket #639 (closed enhancement: wontfix)
Opened 3 years ago
Last modified 2 years ago
[PATCH] llvm-3.1 port
| Reported by: | kallisti5 | Owned by: | scottmc |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | sys-devel/llvm | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
a slight tweak is needed in projects/sample/autoconf/config.guess (someone used an *old* one without Haiku support)
Attachments
Change History
comment:1 Changed 3 years ago by kallisti5
comment:2 Changed 3 years ago by kallisti5
currently fighting the following failure:
llvm[1]: Building llvm-config BuildVariables.inc file.
llvm[1]: Compiling llvm-config.cpp for Release+Asserts build
llvm-config.cpp:45:35: fatal error: LibraryDependencies.inc: No such file or directory
compilation terminated.
/bin/rm: cannot remove `/boot/common/develop/haikuports/sys-devel/llvm/work/llvm-3.1.src/tools/llvm-config/Release+Asserts/llvm-config.d.tmp': No such file or directory
make[1]: *** [/boot/common/develop/haikuports/sys-devel/llvm/work/llvm-3.1.src/tools/llvm-config/Release+Asserts/llvm-config.o] Error 1
make[1]: Leaving directory `/boot/common/develop/haikuports/sys-devel/llvm/work/llvm-3.1.src/tools/llvm-config'
make: *** [all] Error 1
Traceback (most recent call last):
File "/boot/common/bin/haikuporter", line 1192, in <module>
haikuporter = HaikuPorter(options, args)
File "/boot/common/bin/haikuporter", line 293, in __init__
self.buildPort()
File "/boot/common/bin/haikuporter", line 754, in buildPort
self.runCommandSequence(self.bepKeys['BUILD'], self.workDir)
File "/boot/common/bin/haikuporter", line 987, in runCommandSequence
check_call(commandString, shell=True, cwd=dir, env=shellEnv)
File "/boot/common/lib/python2.6/subprocess.py", line 488, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'set -e
cd llvm-3.1.src
./configure --enable-optimized --prefix=`finddir B_COMMON_DIRECTORY`
make
' returned non-zero exit status 2
~>
Changed 3 years ago by kallisti5
- attachment llvm-3.1-v1-broken.diff added
first attempt, currently broken
comment:3 Changed 3 years ago by kallisti5
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-May/049620.html seems to be related to the error above.
The updates to the autoconf tools in programs/sample was already done in llvm head, so 3.2 should remove the need for those changes.
comment:4 Changed 2 years ago by scottmc
- Resolution set to wontfix
- Status changed from new to closed
3.2 works, so no need to work on 3.1.
Note: See
TracTickets for help on using
tickets.

... waiting for llvm to build before posting the diff :)