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

--- Comment #4 from Mark Millard <marklmi26-f...@yahoo.com> ---
Note: 14.3-RELEASE has the following properties for the
undefined symbol issue . . .

# cc -v -m32 -target armv7-unknown-freebsd15.0-gnueabihf basic_double_use.c
. . .

does not report such problems. But . . .

# cc -v -m32 basic_double_use.c
. . .
"/usr/bin/cc" -cc1 -triple armv4t-unknown-freebsd14.3 . . .
. . .
"/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1
--hash-style=both --enable-new-dtags -o a.out /usr/lib32/crt1.o
/usr/lib32/crti.o /usr/lib32/crtbegin.o -L/usr/lib32
/tmp/basic_double_use-76fb64.o -lgcc --as-needed -lgcc_s --no-as-needed -lc
-lgcc --as-needed -lgcc_s --no-as-needed /usr/lib32/crtend.o /usr/lib32/crtn.o
ld: error: undefined symbol: __muldf3
>>> referenced by basic_double_use.c
>>>               /tmp/basic_double_use-76fb64.o:(main)
>>> did you mean: __muldc3
>>> defined in: /usr/lib32/libgcc_s.so

ld: error: undefined symbol: __divdf3
>>> referenced by basic_double_use.c
>>>               /tmp/basic_double_use-76fb64.o:(main)
>>> did you mean: __divdc3
>>> defined in: /usr/lib32/libgcc_s.so

ld: error: undefined symbol: __ltdf2
>>> referenced by basic_double_use.c
>>>               /tmp/basic_double_use-76fb64.o:(main)
cc: error: linker command failed with exit code 1 (use -v to see invocation)

So the undefined symbols are tied to the armv4t and/or
lack of -gnueabihf from the bad default target.

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

Reply via email to