Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680110 - =media-libs/giflib-5.1.7: fails to compile on Mac OS X (ld: unknown option: -soname)
Summary: =media-libs/giflib-5.1.7: fails to compile on Mac OS X (ld: unknown option: -...
Status: CONFIRMED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-12 10:12 UTC by Guilherme Amadio
Modified: 2019-05-08 10:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guilherme Amadio gentoo-dev 2019-03-12 10:12:32 UTC
Relevant part of the build log:

x86_64-apple-darwin17-clang -march=native -O2 -pipe -std=gnu99 -fPIC -Wno-format-truncation -shared -Wl,-dead_strip_dylibs -Wl,-soname,libgif.so.7 -o libgif.so dgif_lib.o egif_lib.o getarg.o gifalloc.o gif_err.o gif_font.o gif_hash.o openbsd-reallocarray.o qprintf.o quantize.o
ar rcs libgif.a dgif_lib.o egif_lib.o getarg.o gifalloc.o gif_err.o gif_font.o gif_hash.o openbsd-reallocarray.o qprintf.o quantize.o
x86_64-apple-darwin17-clang -march=native -O2 -pipe -std=gnu99 -fPIC -Wno-format-truncation  -Wl,-dead_strip_dylibs  gif2rgb.c libgif.a  libgif.a -lm -o gif2rgb
x86_64-apple-darwin17-clang -march=native -O2 -pipe -std=gnu99 -fPIC -Wno-format-truncation  -Wl,-dead_strip_dylibs  gifbuild.c libgif.a  libgif.a -lm -o gifbuild
x86_64-apple-darwin17-clang -march=native -O2 -pipe -std=gnu99 -fPIC -Wno-format-truncation  -Wl,-dead_strip_dylibs  gifecho.c libgif.a  libgif.a -lm -o gifecho
ld: unknown option: -soname
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:68: libgif.so] Error 1
make: *** Waiting for unfinished jobs....
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]

Note, giflib-5.1.4-r2 is installed and is not affected by this.
Comment 1 Guilherme Amadio gentoo-dev 2019-05-08 10:16:08 UTC
This is filed upstream at https://sourceforge.net/p/giflib/bugs/133