Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jan 2019 22:30:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 234717] devel/fastcrc: does not build with lld as i386 system linker
Message-ID:  <bug-234717-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234717

            Bug ID: 234717
           Summary: devel/fastcrc: does not build with lld as i386 system
                    linker
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: emaste@freebsd.org
            Blocks: 214864

nasm -f elf fastcrc.asm
ld -o libfcrc.so.1 -shared -soname libfcrc.so.1 fastcrc.o
ld: error: can't create dynamic relocation R_386_32 against local symbol in
readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext'=
 to
allow text relocations in the output
>>> defined in fastcrc.o
>>> referenced by fastcrc.asm
>>>               fastcrc.o:(.text+0x854)
...

fastcrc.asm needs to be rewritten to be PIC, or -z notext needs to be added=
 to
the link invocation.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234717-7788>