Skip to content

disassembler map file problems on OpenBSD #8037

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 7665
Resolution FIXED
Resolved on Dec 16, 2011 23:25
Version trunk
OS OpenBSD
Blocks llvm/llvm-bugzilla-archive#10988
Attachments generated map file
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

LLVM svn (108643) on OpenBSD/i386 -current doesn't seem to build:

llvm[2]: Compiling EDDisassembler.cpp for Release+Asserts build (PIC)
llvm[2]: Compiling EDInst.cpp for Release+Asserts build (PIC)
llvm[2]: Compiling EDMain.cpp for Release+Asserts build (PIC)
llvm[2]: Compiling EDOperand.cpp for Release+Asserts build (PIC)
llvm[2]: Compiling EDToken.cpp for Release+Asserts build (PIC)
llvm[2]: Linking Release+Asserts Shared Library EnhancedDisassembly.so
/usr/bin/ld:/usr/users/jsg/src/llvm/tools/edis/Release+Asserts/EnhancedDisassembly.exports.map:38: syntax error in VERSION script
collect2: ld returned 1 exit status
gmake[2]: *** [/usr/users/jsg/src/llvm/Release+Asserts/lib/libEnhancedDisassembly.so] Error 1

$ ld --version
GNU ld version 2.15

$ cc -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.7/4.2.1/specs
Target: i386-unknown-openbsd4.7
Configured with: OpenBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719

$ libtool --version
ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.493 2008/02/01 16:58:18)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions