<html>
    <head>
      <base href="http://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - lld: duplicate symbols on OpenBSD/i386"
   href="http://bugs.llvm.org/show_bug.cgi?id=32008">32008</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lld: duplicate symbols on OpenBSD/i386
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ELF
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>brad@comstyle.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Testing lld on OpenBSD/i386 I am seeing duplicate symbol errors not seen when
testing lld on OpenBSD/amd64..

clang -fuse-ld=lld -Wno-unused-command-line-argument   -o ftp cmds.o cmdtab.o
complete.o cookie.o domacro.o fetch.o ftp.o list.o main.o ruserpass.o small.o
stringlist.o util.o -ledit -lcurses -lutil -ltls -lssl -lcrypto
/usr/local/bin/ld.lld: error: /usr/src/lib/libc/quad/fixunssfdi.c:52: duplicate
symbol '__fixunssfdi'
/usr/local/bin/ld.lld: error:
/usr/obj/ports/gcc-4.9.4/gcc-4.9.4/libgcc/libgcc2.c:1434: previous definition
was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libc/quad/fixunsdfdi.c:48: duplicate
symbol '__fixunsdfdi'
/usr/local/bin/ld.lld: error:
/usr/obj/ports/gcc-4.9.4/gcc-4.9.4/libgcc/libgcc2.c:1405: previous definition
was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libc/quad/moddi3.c:44: duplicate
symbol '__moddi3'
/usr/local/bin/ld.lld: error:
/usr/obj/ports/gcc-4.9.4/gcc-4.9.4/libgcc/libgcc2.c:1252: previous definition
was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libc/quad/udivdi3.c:42: duplicate
symbol '__udivdi3'
/usr/local/bin/ld.lld: error:
/usr/obj/ports/gcc-4.9.4/gcc-4.9.4/libgcc/libgcc2.c:1287: previous definition
was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libc/quad/umoddi3.c:42: duplicate
symbol '__umoddi3'
/usr/local/bin/ld.lld: error:
/usr/obj/ports/gcc-4.9.4/gcc-4.9.4/libgcc/libgcc2.c:1275: previous definition
was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libc/quad/divdi3.c:43: duplicate
symbol '__divdi3'
/usr/local/bin/ld.lld: error:
/usr/obj/ports/gcc-4.9.4/gcc-4.9.4/libgcc/libgcc2.c:1228: previous definition
was here


clang -fuse-ld=lld -Wno-unused-command-line-argument -O2 -pipe 
-I/home/brad/src/usr.bin/ssh/ssh/.. -fstack-protector-all -DWITH_OPENSSL
-DENABLE_PKCS11 -DHAVE_DLOPEN -I/home/brad/src/usr.bin/ssh/ssh/..
-fstack-protector-all -DWITH_OPENSSL -DENABLE_PKCS11 -DHAVE_DLOPEN -Wall
-Wchar-subscripts -Wcomment -Wextra -Wformat -Wformat-security -Wimplicit
-Winline -Wmissing-declarations -Wmissing-prototypes -Wparentheses
-Wpointer-arith -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing
-Wstrict-prototypes -Wswitch -Wtrigraphs -Wuninitialized -Wunused
-Wold-style-definition -Wno-unused-parameter    -c
/home/brad/src/usr.bin/ssh/ssh/../mux.c
clang -fuse-ld=lld -Wno-unused-command-line-argument   -o ssh ssh.o readconf.o
clientloop.o sshtty.o sshconnect.o sshconnect2.o mux.o
-L/home/brad/src/usr.bin/ssh/ssh/../lib -lssh -lutil
-L/home/brad/src/usr.bin/ssh/ssh/../lib -lssh -lutil -lcrypto -lutil -lz
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/logout.c:46: duplicate
symbol 'logout'
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/logout.c:46: previous
definition was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/uucplock.c:62: duplicate
symbol 'uu_lock'
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/uucplock.c:62: previous
definition was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/uucplock.c:124: duplicate
symbol 'uu_lock_txfr'
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/uucplock.c:124: previous
definition was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/uucplock.c:154: duplicate
symbol 'uu_lockerr'
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/uucplock.c:154: previous
definition was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/uucplock.c:145: duplicate
symbol 'uu_unlock'
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/uucplock.c:145: previous
definition was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/ohash.c:45: duplicate symbol
'ohash_create_entry'
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/ohash.c:45: previous
definition was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/ohash.c:224: duplicate
symbol 'ohash_lookup_interval'
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/ohash.c:224: previous
definition was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/ohash.c:170: duplicate
symbol 'ohash_first'
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/ohash.c:170: previous
definition was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/ohash.c:137: duplicate
symbol 'ohash_find'
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/ohash.c:137: previous
definition was here
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/ohash.c:315: duplicate
symbol 'ohash_qlookup'
/usr/local/bin/ld.lld: error: /usr/src/lib/libutil/ohash.c:315: previous
definition was here</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>