Re: gcc48 & gcc49 info/patch files for successful build under Yosemite 10.10

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0A31j_cKa6fNaO-ZmZZTOj_6obE_RkMKZVCRAQ9d2JtJQ@mail.gmail.com>
John,
     The gcc48 package is now updated with a Distribution: 10.7, 10.8,
10.9. Normally, we take the opportunity of new OS releases to force the
synchronization of builds onto the latest gcc4x packaging. I have also
placed test packaging for gcc49-4.9.1-1001 in my experimental directory…

http://fink.cvs.sourceforge.net/viewvc/fink/experimental/jwhowarth/main/finkinfo/gcc49.info?revision=1.1&view=markup
http://fink.cvs.sourceforge.net/viewvc/fink/experimental/jwhowarth/main/finkinfo/gcc49.patch?revision=1.1&view=markup

The patch currently uses the upstream proposed patch…

https://gcc.gnu.org/ml/gcc-patches/2014-08/msg02428.html

to solve the version check issue. However the proposed fix for the
sanitizer dirent issue is modified to use the MacPorts patch which uses…

! defined(__DARWIN_64_BIT_INO_T) || __DARWIN_64_BIT_INO_T

for the added conditionals.
        Jack



On Mon, Aug 25, 2014 at 3:54 PM, John Lillibridge - NOAA Federal <
[email protected]> wrote:

> Greetings Fink Developers,
>
> In my continuing efforts to install Fink packages under Yosemite Public
> Beta (now #2), I have finally succeeded in getting gcc48 and gcc49 to build
> from scratch. I had a hunch that gcc was confused by the 2-digit minor
> version in OS-X (10.10.x) since all previous releases of OS-X had been
> single digit (10.0.x-10.9.x). Sure enough, that was the problem in two
> files: gcc/config/darwin-c.c and gcc/config/darwin-driver.c. I found the
> fix at MacPorts, as well as under the gcc page at sourceforge.net. I
> appended the patches for the two 'darwin' files onto gcc48.patch and
> gcc49.patch, and then updated the gcc48.info and gcc49.info files with
> the new PatchFile-MD5 checksums. Attached are the info and patch files that
> allowed gcc48 and gcc49 to build under the HalfDome version of Fink under
> Yosemite 10.10.
>
> Note that I had to add '10.10' Distribution info. to devel/
> help2man-perl.info and languages/perl5162.info to satisfy dependencies. I
> also had to install the Mavericks-10.9 deb file for the gmp5 package before
> building the compilers, since I've been unable to get gmp5 to build under
> Yosemite yet...
>
> I hope you it helpful, and that these patch and info files can be
> integrated into the gcc48/49 packages.
>
> All the best,
> John
>
>

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.