[Bug 214556] www/firefox: fails to build on aarch64 with DTRACE=on

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 16 01:54:22 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214556

Jan Beich (mail not working) <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|gecko at FreeBSD.org           |freebsd-dtrace at FreeBSD.org
              Flags|maintainer-feedback?(gecko@ |
                   |FreeBSD.org)                |

--- Comment #1 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
Are static dtrace probes supported on aarch64 at all?

  $ ssh ref12-aarch64.freebsd.org # or use qemu-user-static via poudriere

  $ cat main.c
  #include <sys/sdt.h>
  #include <unistd.h>

  int main()
  {
    DTRACE_PROBE(test, foo);
    sleep(300);
    return 0;
  }

  $ cat test.d
  provider test {
          probe foo();
  };

  $ cc -c main.c

  $ dtrace -G -s test.d main.o
 
dt_modtext:/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(841):
DOODAD
  ld: test.o.Fycn9m: Relocations in generic ELF (EM: 0)
  test.o.Fycn9m: error adding symbols: File in wrong format
  test: failed to link script test: failed to link test.o: ld exited with
status 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gecko mailing list